language: ruby
dist: trusty
cache: bundler
script: "bundle exec rake"

rvm:
  - 2.1.10
  - 2.2.6
  - 2.3.3
  - 2.4.0
  - 2.5.1

gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile

before_install:
  - gem update --system
  - gem update bundler
  - gem cleanup bundler

matrix:
  fast_finish: true
  exclude:
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5.0.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5.1.gemfile

language: ruby
cache: bundler
script: "bundle exec rake"

rvm:
  - 2.1.10
  - 2.2.6
  - 2.3.3
  - 2.4.0
  - 2.5.1

gemfile:
  - gemfiles/rails_4.2.gemfile
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile

before_install:
  - gem update --system
  - gem update bundler
  - gem cleanup bundler

matrix:
  fast_finish: true
  exclude:
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5.0.gemfile
    - rvm: 2.1.10
      gemfile: gemfiles/rails_5.1.gemfile

Test on Ubuntu 16.04 (was: 14.04)
Test on Ubuntu 16.04 (was: 14.04)

https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment
