diff options
author | varac <varacanero@zeromail.org> | 2016-10-31 13:46:05 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-11-01 16:05:21 +0100 |
commit | 9cd565f00ae8f6e10ad96c7c8ab2aa65d8fabe8a (patch) | |
tree | dc2c0741b8cd8313a053fafb2f043577168dfc8e /.gitlab-ci.yml | |
parent | 65066a585657ac58b3f7ed7e071ae5087abd0d9c (diff) |
Fix CI, dont install beaker on gitlab CI
- Don't install `system-tests` gem group for rspec tests on CI
- Use leapcode/ruby docker image because it has a more default
ruby installation than the 'official' one.
- Use `/var/cache/gitlab-runner/` as gem install path so we can
cache this folder later
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7b8eca..2f381cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,8 @@ +image: leapcode/ruby before_script: - ruby -v - - gem install bundler --no-ri --no-rdoc - - bundle install --jobs $(nproc) "${FLAGS[@]}" + - sudo gem install bundler --no-ri --no-rdoc + - sudo bundle install --jobs $(nproc) --without system_tests --path=/var/cache/gitlab-runner/ "${FLAGS[@]}" # don't fail on lint warnings rspec: |