language: ruby
sudo: false

rvm:
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.1
  - ruby-head
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.0.beta2.gemfile
  - gemfiles/rails_edge.gemfile
matrix:
  allow_failures:
    - rvm: ruby-head
    - gemfile: gemfiles/rails_edge.gemfile
  exclude:
    - rvm: 2.2.10
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.2.10
      gemfile: gemfiles/rails_6.0.0.beta2.gemfile
    - rvm: 2.3.8
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.3.8
      gemfile: gemfiles/rails_6.0.0.beta2.gemfile
    - rvm: 2.4.5
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.4.5
      gemfile: gemfiles/rails_6.0.0.beta2.gemfile
  fast_finish: true

language: ruby
sudo: false

rvm:
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.4
  - 2.6.2
  - ruby-head
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.0.beta2.gemfile
  - gemfiles/rails_edge.gemfile
matrix:
  allow_failures:
    - rvm: ruby-head
    - gemfile: gemfiles/rails_edge.gemfile
  exclude:
    - rvm: 2.2.10
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.2.10
      gemfile: gemfiles/rails_6.0.0.beta2.gemfile
    - rvm: 2.3.8
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.3.8
      gemfile: gemfiles/rails_6.0.0.beta2.gemfile
    - rvm: 2.4.5
      gemfile: gemfiles/rails_edge.gemfile
    - rvm: 2.4.5
      gemfile: gemfiles/rails_6.0.0.beta2.gemfile
  fast_finish: true

Test against latest Ruby versions
Test against latest Ruby versions