language: ruby
sudo: false

services:
  - mysql
  - postgresql

rvm:
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7

services:
  - mysql
  - postgresql

script: "bundle exec rake db:reset test:all"

gemfile:
  - gemfiles/4.2.gemfile
  - gemfiles/4.2.api.gemfile
  - gemfiles/5.0.gemfile
  - gemfiles/5.1.gemfile
  - gemfiles/5.2.gemfile

language: ruby
sudo: false

services:
  - mysql
  - postgresql

rvm:
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7

services:
  - mysql
  - postgresql

script: "bundle exec rake db:reset test:all"

gemfile:
  - gemfiles/4.2.gemfile
  - gemfiles/4.2.api.gemfile
  - gemfiles/5.0.gemfile
  - gemfiles/5.1.gemfile
  - gemfiles/5.2.gemfile

matrix:
  exclude:
    - rvm: 2.7
      gemfile: gemfiles/4.2.gemfile
    - rvm: 2.7
      gemfile: gemfiles/4.2.api.gemfile

Exclude Ruby 2.7 from Rails 4.2
Exclude Ruby 2.7 from Rails 4.2
