mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Fix DB url in Travis migration
This commit is contained in:
parent
f999388e03
commit
f7cd8286e4
@ -5,7 +5,7 @@ env: TEST_DATABASE_URL=postgres://postgres@localhost:5432/unleash_test
|
|||||||
before_script:
|
before_script:
|
||||||
- echo '--timeout 10000' > test/mocha.opts
|
- echo '--timeout 10000' > test/mocha.opts
|
||||||
- psql -c 'create database unleash_test;' -U postgres
|
- psql -c 'create database unleash_test;' -U postgres
|
||||||
- ./node_modules/.bin/db-migrate up
|
- 'DATABASE_URL=$TEST_DATABASE_URL ./node_modules/.bin/db-migrate up'
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- npm test
|
- npm test
|
||||||
|
Loading…
Reference in New Issue
Block a user