language: ruby sudo: false cache: bundler rvm: - 2.1.9 - 2.2.6 - 2.3.3 - 2.4.1 gemfile: - gemfiles/rails_4.gemfile - gemfiles/rails_41.gemfile - gemfiles/rails_42.gemfile - gemfiles/rails_5.gemfile - gemfiles/rails_51.gemfile env: - TEST_SUITE=rake before_install: - gem update bundler script: - bundle exec $TEST_SUITE matrix: exclude: - rvm: 2.1.9 gemfile: gemfiles/rails_5.gemfile - rvm: 2.1.9 gemfile: gemfiles/rails_51.gemfile include: - rvm: 2.4.1 gemfile: gemfiles/rails_5.gemfile env: TEST_SUITE="rubocop lib/ spec/" notifications: email: false