language: ruby
rvm:
  - 2.2.6
  - 2.3.3
  - 2.4.0
before_script:
  - bundle exec rails db:test:prepare
script: bundle exec rspec

language: ruby
rvm:
  - 2.2.6
  - 2.3.3
  - 2.4.0
before_script:
  - bundle exec rails db:migrate RAILS_ENV=test
script: bundle exec rspec

Update to db:migrate for Travis CI
Update to db:migrate for Travis CI
