language: ruby

rvm:
  - 2.2.10
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7

matrix:
  fast_finish: true

gemfile:
  - gemfiles/rails_4.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile

language: ruby

rvm:
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7

gemfile:
  - gemfiles/rails_4.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile

jobs:
  fast_finish: true
  exclude:
  - rvm: 2.6
    gemfile: gemfiles/rails_4.gemfile
  - rvm: 2.7
    gemfile: gemfiles/rails_4.gemfile
  - rvm: 2.2
    gemfile: gemfiles/rails_5.2.gemfile
  - rvm: 2.2
    gemfile: gemfiles/rails_6.0.gemfile
  - rvm: 2.3
    gemfile: gemfiles/rails_6.0.gemfile
  - rvm: 2.4
    gemfile: gemfiles/rails_6.0.gemfile

Exclude impossible combinations from build matrix
Exclude impossible combinations from build matrix
