diff options
author | Azul <azul@riseup.net> | 2016-08-26 17:02:13 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-08-26 17:25:27 +0200 |
commit | 60f68206d99974035ecfba13d044e8516a2637b3 (patch) | |
tree | 5884b902a19a08f82ebc355d8ab62e9f30e252f1 | |
parent | 6663a070f6b34d5af4c1812b1255c64534a7a59a (diff) |
[test] initial .gitlab-ci.yml file
Mostly copied from the webapp just to see how it goes.
I did not carry over version restrictions from the .travis.yml file.
I hope these limitations have vanished now and i can also remove them
on travis.
-rw-r--r-- | .gitlab-ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c2c930c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +# This file is a template, and might need editing before it works on your project. +# Official language image. Look for the different tagged releases at: +# https://hub.docker.com/r/library/ruby/tags/ +image: "ruby:2.1" + +# Pick zero or more services to be used on all builds. +# Only needed when using a docker container to run your tests in. +# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-service +services: + - couchdb:1.6.1 + +# Cache gems in between builds +cache: + paths: + - vendor/ + +# This is a basic example for a gem or script which doesn't use +# services such as redis or postgres +before_script: + - ruby -v + - curl -s couchdb:5984 + - gem install bundler --no-ri --no-rdoc + - bundle install -j $(nproc) --path vendor + +test: + script: + - bundle exec rake test |