Set up jenkins and CI

This commit is contained in:
Loic Nageleisen 2018-12-06 15:38:40 +01:00
commit 7e8af83685
6 changed files with 110 additions and 0 deletions

28
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,28 @@
image: ruby:2.5
cache:
paths:
- vendor/
before_script:
- bundle install --path vendor
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master
test:
stage: test
script:
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master