sudo: false
cache: bundler
language: ruby
rvm:
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - 2.5.0

gemfile:
  - gemfiles/rails_4_1.gemfile
  - gemfiles/rails_4_2.gemfile
  - gemfiles/rails_5_0.gemfile
  - gemfiles/rails_5_1.gemfile
  - gemfiles/rails_5_2.gemfile

matrix:
  exclude:
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5_0.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5_1.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5_2.gemfile
    - rvm: 2.4.3
      gemfile: gemfiles/rails_4_1.gemfile
    - rvm: 2.4.3
      gemfile: gemfiles/rails_4_2.gemfile

sudo: false
cache: bundler
language: ruby
rvm:
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - 2.5.0

gemfile:
  - gemfiles/rails_4_1.gemfile
  - gemfiles/rails_4_2.gemfile
  - gemfiles/rails_5_0.gemfile
  - gemfiles/rails_5_1.gemfile
  - gemfiles/rails_5_2.gemfile

matrix:
  exclude:
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5_0.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5_1.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5_2.gemfile
    - rvm: 2.4.3
      gemfile: gemfiles/rails_4_1.gemfile
    - rvm: 2.4.3
      gemfile: gemfiles/rails_4_2.gemfile
    - rvm: 2.5.0
      gemfile: gemfiles/rails_4_1.gemfile
    - rvm: 2.5.0
      gemfile: gemfiles/rails_4_2.gemfile

Exclude ruby 2.5 from rails 4
Exclude ruby 2.5 from rails 4
