Commit fda37b2f authored by Z.J. van de Weg's avatar Z.J. van de Weg

Update templates

parent 91030230
.vscode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
# Full project: https://gitlab.com/pages/hexo
image: python:2.7
cache:
paths:
- vendor/
test:
stage: test
script:
- pip install hyde
- hyde gen
except:
- master
image: node:4.2.2
pages:
stage: deploy
cache:
paths:
- node_modules/
script:
- pip install hyde
- hyde gen -d public
- npm install hexo-cli -g
- npm install
- hexo deploy
artifacts:
paths:
- public
only:
- master
- master
......@@ -10,6 +10,9 @@ services:
- redis:latest
- postgres:latest
variables:
POSTGRES_DB: database_name
# Cache gems in between builds
cache:
paths:
......@@ -34,6 +37,9 @@ rspec:
- rspec spec
rails:
variables:
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
script:
- bundle exec rake db:migrate
- bundle exec rake db:seed
- bundle exec rake test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment