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
image: node:4.2.2
cache:
pages:
cache:
paths:
- vendor/
- node_modules/
test:
stage: test
script:
- pip install hyde
- hyde gen
except:
- master
pages:
stage: deploy
script:
- pip install hyde
- hyde gen -d public
- npm install hexo-cli -g
- npm install
- hexo deploy
artifacts:
paths:
- public
......
......@@ -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