language: ruby
sudo: false
cache: bundler
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
  - Gemfile
rvm:
  - "2.3.8"
  - "2.4.6"
  - "2.5.6"
  - "2.6.4"
  - jruby-9.2.8.0
matrix:
  include:
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_4.0.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_4.1.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_4.2.gemfile"
    - rvm: "2.6.4"
      gemfile: gemfiles/rails_head.gemfile
  allow_failures:
    - gemfile: gemfiles/rails_head.gemfile

language: ruby
sudo: false
cache: bundler
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
  - Gemfile
rvm:
  - "2.5.6"
  - "2.6.4"
  - jruby-9.2.8.0
matrix:
  include:
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_4.0.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_4.1.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_4.2.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_5.0.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_5.1.gemfile"
    - rvm: "2.3.8"
      gemfile: "gemfiles/rails_5.2.gemfile"
    - rvm: "2.4.6"
      gemfile: "gemfiles/rails_5.0.gemfile"
    - rvm: "2.4.6"
      gemfile: "gemfiles/rails_5.1.gemfile"
    - rvm: "2.4.6"
      gemfile: "gemfiles/rails_5.2.gemfile"
    - rvm: "2.6.4"
      gemfile: gemfiles/rails_head.gemfile
  allow_failures:
    - gemfile: gemfiles/rails_head.gemfile

Drop incompatible ruby / rails version combinations from build matrix
Drop incompatible ruby / rails version combinations from build matrix
