From f7cd8286e4521440f9f5589fd9e79a8379a8fe5a Mon Sep 17 00:00:00 2001 From: Jari Bakken Date: Fri, 12 Dec 2014 16:17:53 +0100 Subject: [PATCH] Fix DB url in Travis migration --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c28173ddd6..d12a57c565 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ env: TEST_DATABASE_URL=postgres://postgres@localhost:5432/unleash_test before_script: - echo '--timeout 10000' > test/mocha.opts - 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: - npm install - npm test