language: ruby
sudo: false
gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.3
script:
  - bundle exec rspec
  - bundle exec rubocop

language: ruby
sudo: false
gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.3
script:
  - bundle exec rspec
  - bundle exec rubocop
matrix:
  exclude:
  - rvm: 2.3.8
    gemfile: gemfiles/rails_6.0.gemfile
  - rvm: 2.4.5
    gemfile: gemfiles/rails_6.0.gemfile

Exclude Ruby 2.3.8 and 2.4.5
Exclude Ruby 2.3.8 and 2.4.5

Rails 6 requires ruby version > 2.5
