language: ruby
bundler_args: --without development
rvm:
  - 1.9.3
  - 2.0.0

before_script:
  - psql -c 'CREATE DATABASE brimir_test;' -U postgres
  - cp config/database.travis.yml config/database.yml
  - bundle exec rake db:test:prepare

language: ruby
bundler_args: --without development
rvm:
  - 1.9.3
  - 2.0.0

before_script:
  - psql -c 'CREATE DATABASE brimir_test;' -U postgres
  - cp config/database.travis.yml config/database.yml
  - bundle exec rake db:migrate

Prepare Travis DB before running tests.
Prepare Travis DB before running tests.
