language: ruby
sudo: false
branches:
  only:
    - master
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7
gemfile:
  - gemfiles/rails_5_2_x.gemfile
  - gemfiles/rails_6_0_x.gemfile
  - gemfiles/rails_6_1_x.gemfile
matrix:
  exclude:
    - gemfile: gemfiles/rails_6_0_x.gemfile
      rvm: 2.3
    - gemfile: gemfiles/rails_6_0_x.gemfile
      rvm: 2.4
    - gemfile: gemfiles/rails_6_1_x.gemfile
      rvm: 2.3
    - gemfile: gemfiles/rails_6_1_x.gemfile
      rvm: 2.4
before_install:
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
  - gem install bundler -v '< 2'

language: ruby
sudo: false
branches:
  only:
    - master
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7
  - 3.0
gemfile:
  - gemfiles/rails_5_2_x.gemfile
  - gemfiles/rails_6_0_x.gemfile
  - gemfiles/rails_6_1_x.gemfile
matrix:
  exclude:
    - gemfile: gemfiles/rails_6_0_x.gemfile
      rvm: 2.3
    - gemfile: gemfiles/rails_6_0_x.gemfile
      rvm: 2.4
    - gemfile: gemfiles/rails_6_1_x.gemfile
      rvm: 2.3
    - gemfile: gemfiles/rails_6_1_x.gemfile
      rvm: 2.4
    - gemfile: gemfiles/rails_5_2_x.gemfile
      rvm: 3.0
before_install:
  - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
  - gem install bundler -v '< 2'

Add Ruby 3.0 to testing versions
Add Ruby 3.0 to testing versions
