language: ruby
sudo: false
cache: bundler
before_install:
  - gem update --system
  - gem install bundler
rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.0
gemfile:
  - gemfiles/Gemfile.active_record-4.0
  - gemfiles/Gemfile.active_record-4.1
  - gemfiles/Gemfile.active_record-4.2
  - gemfiles/Gemfile.active_record-5.0
  - gemfiles/Gemfile.active_record-5.1
  - gemfiles/Gemfile.active_record-5.2
matrix:
  exclude:
    - rvm: 2.4.5
      gemfile: gemfiles/Gemfile.active_record-4.0
    - rvm: 2.4.5
      gemfile: gemfiles/Gemfile.active_record-4.1
    - rvm: 2.5.3
      gemfile: gemfiles/Gemfile.active_record-4.0
    - rvm: 2.5.3
      gemfile: gemfiles/Gemfile.active_record-4.1
    - rvm: 2.6.0
      gemfile: gemfiles/Gemfile.active_record-4.0
    - rvm: 2.6.0
      gemfile: gemfiles/Gemfile.active_record-4.1

language: ruby
sudo: false
cache: bundler
before_install:
  - gem update --system
  - gem install bundler -v '< 2'
rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - 2.6.0
gemfile:
  - gemfiles/Gemfile.active_record-4.0
  - gemfiles/Gemfile.active_record-4.1
  - gemfiles/Gemfile.active_record-4.2
  - gemfiles/Gemfile.active_record-5.0
  - gemfiles/Gemfile.active_record-5.1
  - gemfiles/Gemfile.active_record-5.2
matrix:
  exclude:
    - rvm: 2.4.5
      gemfile: gemfiles/Gemfile.active_record-4.0
    - rvm: 2.4.5
      gemfile: gemfiles/Gemfile.active_record-4.1
    - rvm: 2.5.3
      gemfile: gemfiles/Gemfile.active_record-4.0
    - rvm: 2.5.3
      gemfile: gemfiles/Gemfile.active_record-4.1
    - rvm: 2.6.0
      gemfile: gemfiles/Gemfile.active_record-4.0
    - rvm: 2.6.0
      gemfile: gemfiles/Gemfile.active_record-4.1

Install bundler version < 2.
Install bundler version < 2.
