language: ruby
rvm:
  - "2.2.5"
  - "2.3.1"
env:
  - 'RAILS_VERSION="~> 3.2.0"'
  - 'RAILS_VERSION="~> 4.0.0"'
  - 'RAILS_VERSION="~> 4.1.0"'
  - 'RAILS_VERSION="~> 4.2.0"'
  - 'RAILS_VERSION="~> 5.0.0"'
  - 'RAILS_VERSION="= 5.1.4"'
  - 'RAILS_VERSION="= 5.1.5"'
  - 'RAILS_VERSION="~> 5.1.5"'
  - 'RAILS_VERSION="~> 5.2.0"'
install:
  - bundle update
script: TRAVIS=true bundle exec rake spec

language: ruby
rvm:
  - "2.3.7"
  - "2.4.4"
  - "2.5.1"
env:
  - 'RAILS_VERSION="~> 3.2.0"'
  - 'RAILS_VERSION="~> 4.0.0"'
  - 'RAILS_VERSION="~> 4.1.0"'
  - 'RAILS_VERSION="~> 4.2.0"'
  - 'RAILS_VERSION="~> 5.0.0"'
  - 'RAILS_VERSION="= 5.1.4"'
  - 'RAILS_VERSION="= 5.1.5"'
  - 'RAILS_VERSION="~> 5.1.5"'
  - 'RAILS_VERSION="~> 5.2.0"'
install:
  - bundle update
script: TRAVIS=true bundle exec rake spec

Stop testing against Ruby 2.2, start 2.4 and 2.5
Stop testing against Ruby 2.2, start 2.4 and 2.5
