run migrations before tests
This commit is contained in:
+4
-2
@@ -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
|
||||
- psql -c 'create database timeoverflow_test;' -U postgres
|
||||
- RAILS_ENV=test bundle exec rake db:migrate
|
||||
Reference in New Issue
Block a user