sudo: false
language: ruby
rvm:
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.1

gemfile:
  - gemfiles/4.0.gemfile
  - gemfiles/4.1.gemfile
  - gemfiles/4.2.gemfile
  - gemfiles/5.2.gemfile
  - gemfiles/6.0.gemfile

before_install:
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
  - gem install bundler -v '< 2'
  - "rm gemfiles/*.lock"

before_script:
  - "bundle install"

script: "bundle exec rake clean test"

sudo: false
language: ruby
rvm:
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.1

gemfile:
  - gemfiles/4.0.gemfile
  - gemfiles/4.1.gemfile
  - gemfiles/4.2.gemfile
  - gemfiles/5.2.gemfile
  - gemfiles/6.0.gemfile

matrix:
  fast_finish: true
  exclude:
    - gemfile: gemfiles/6.0.gemfile
      rvm: 2.4.5

before_install:
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
  - gem install bundler -v '< 2'
  - "rm gemfiles/*.lock"

before_script:
  - "bundle install"

script: "bundle exec rake clean test"

Drop rails 6 from building under ruby 2.4.5
Drop rails 6 from building under ruby 2.4.5
