language: ruby

rvm:
  - 2.3.1
  - 2.4.4
  - 2.5.1

sudo: false

script: bundle exec rake db:reset test:all

env:
  - "RAILS_VERSION=4.2.0"
  - "RAILS_VERSION=5.0.6"
  - "RAILS_VERSION=5.1.5"
  - "RAILS_VERSION=4.2.0 TEST_RAILS_API=true"
  - "RAILS_VERSION=5.0.6 TEST_RAILS_API=true"
  - "RAILS_VERSION=5.1.5 TEST_RAILS_API=true"

language: ruby

rvm:
  - 2.3.1
  - 2.4.4
  - 2.5.1

sudo: false

script: bundle exec rake db:reset test:all

env:
  - "RAILS_VERSION=4.2.0"
  - "RAILS_VERSION=5.0.7"
  - "RAILS_VERSION=5.1.6"
  - "RAILS_VERSION=5.2.2"
  - "RAILS_VERSION=4.2.0 TEST_RAILS_API=true"
  - "RAILS_VERSION=5.0.7 TEST_RAILS_API=true"
  - "RAILS_VERSION=5.1.6 TEST_RAILS_API=true"
  - "RAILS_VERSION=5.2.2 TEST_RAILS_API=true

Upgrade versions and add Rails 5.2
Upgrade versions and add Rails 5.2

Rails 5.2 is the newest version of Rails so we should also test against
that. I bumped all the versions in travis and added 5.2.
