Commit 414cf557 authored by Milan's avatar Milan

Update .gitlab-ci.yml

parent ab30e9b0
Pipeline #271 failed with stage
in 12 minutes and 36 seconds
......@@ -3,12 +3,28 @@ image: "ruby:2.3"
before_script:
- export DB=postgresql
- export BUILD_TYPE=cucumber
- rvm use 2.2 --install --binary --fuzzy
- export BUNDLE_GEMFILE=$PWD/Gemfile
- gem install bundler
- bin/bundle install --deployment --without development production --with mysql postgresql --jobs 3 --retry 3
- cp config/database.yml.example config/database.yml
- sed -i 's/*common/*mysql/' config/database.yml
- ~/.rvm/rubies/ruby-2.2.4/bin/ruby -S bundle exec cucumber --profile default
#ruby 2.2
cucumber:
script:
- bundle exec cucumber --profile default
tags:
- ruby
except:
- tags
#ruby 2.3
cucumber:ruby2.3:
image: ruby:2.3
script:
- bundle exec cucumber --profile default
tags:
- ruby
except:
- tags
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