diff --git a/.travis.yml b/.travis.yml index a3e00f1..96efccd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: ruby -rvm: 2.1 +rvm: + - 2.1 env: DATABASE_URL=postgres://postgres@localhost/timeoverflow_test before_script: - - psql -c 'create database timeoverflow_test;' -U postgres \ No newline at end of file + - psql -c 'create database timeoverflow_test;' -U postgres + - RAILS_ENV=test bundle exec rake db:migrate \ No newline at end of file