language: ruby
cache: bundler
archive: true
rvm:
  - 2.1.2
script:
  - cd spec/dummy
  - RAILS_ENV=test bundle exec rake db:migrate
  - CODECLIMATE_REPO_TOKEN=f54267de73817e8dcc14ccfaff327056723eaae101507c70b391bec5d5825c73 bundle exec rspec
notifications:
   email: false

language: ruby
cache: bundler
archive: true
rvm:
  - 2.1.2
script:
  - cd spec/dummy
  - RAILS_ENV=test bundle exec rake db:migrate
  - cd ../..
  - CODECLIMATE_REPO_TOKEN=f54267de73817e8dcc14ccfaff327056723eaae101507c70b391bec5d5825c73 bundle exec rspec
notifications:
   email: false

Return to previous path after running migrations.
Return to previous path after running migrations.
