language: ruby

rvm:
  - "2.0"
  - "2.1"
  - "2.2"
  - rbx

script:
  - bundle install
  - cd test/dummy
  - RAILS_ENV=test bundle exec rake db:create db:migrate --trace
  - cd ../..
  - appraisal install
  - appraisal rake test

language: ruby

rvm:
  - "2.0"
  - "2.1"
  - "2.2"
  - rbx

gemfile:
  - gemfiles/rails_4.1.8.gemfile
  - gemfiles/rails_4.1.10.gemfile
  - gemfiles/rails_4.2.1.gemfile

script:
  - cd test/dummy
  - RAILS_ENV=test bundle exec rake db:create db:migrate --trace
  - cd ../..
  - rake test

Use gemfiles for tests as suggested
Use gemfiles for tests as suggested
