Commit d492a1a2 authored by Milan's avatar Milan

Update .gitlab-ci.yml - drop ruby 2.2, remove development from --without, change built type

parent 639ca001
Pipeline #274 failed with stage
in 13 minutes
image: "ruby:2.2"
image: "ruby:2.3"
before_script:
- export BUILD_TYPE=rubocop
- export BUILD_TYPE=development
- export BUNDLE_GEMFILE=$PWD/Gemfile
- gem install bundler
- bin/bundle install --deployment --without development production --with mysql postgresql --jobs 3 --retry 3
- bin/bundle install --deployment --without production --with mysql postgresql --jobs 3 --retry 3
- bin/bundle clean
- cp config/database.yml.example config/database.yml
- sed -i 's/*common/*mysql/' config/database.yml
#ruby 2.2
rubocop:
script:
- bundle exec rubocop
tags:
- ruby
except:
- tags
#ruby 2.3
rubocop:ruby2.3:
image: ruby:2.3
......
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