Skip to content

Commit 8adcc8a

Browse files
committed
Use an in memory .env file by exporting vars
1 parent 2838ae1 commit 8adcc8a

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
language: node_js
22
node_js:
3-
- "6.11.0"
3+
- "6.11.0"
4+
5+
services:
6+
- postgresql
7+
addons:
8+
postgresql: "9.5"
9+
10+
before_script:
11+
- psql -c 'create database travis_ci_test;' -U postgres
12+
- mkdir config && cp database.travis.yml config/database.yml
13+
- export TEST_DATABASE_URL="postgres://postgres:test_password@localhost:5432/travis_ci_test"
14+
- export JWT_SECRET="some-super-secure-secret-i-will-never-use-in-production"
15+
- export PORT="3000"

0 commit comments

Comments
 (0)