From 9cd565f00ae8f6e10ad96c7c8ab2aa65d8fabe8a Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 31 Oct 2016 13:46:05 +0100 Subject: 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 --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.gitlab-ci.yml') 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: -- cgit v1.2.3