test:
  script:
  - gem install bundler
  - bundle install
  - bundle exec rake db:migrate RAILS_ENV=test
  - bundle exec rake test