travis and postgres take two
This commit is contained in:
parent
28db887460
commit
b11484ad70
|
@ -21,6 +21,7 @@ before_script:
|
||||||
- postgres --version
|
- postgres --version
|
||||||
- redis-server --version
|
- redis-server --version
|
||||||
- npm run lint
|
- npm run lint
|
||||||
|
- psql -c "CREATE USER nolan CREATE_DB;"
|
||||||
script: npm run test-browser
|
script: npm run test-browser
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
|
@ -20,6 +20,8 @@ const envFile = `
|
||||||
PAPERCLIP_SECRET=foo
|
PAPERCLIP_SECRET=foo
|
||||||
SECRET_KEY_BASE=bar
|
SECRET_KEY_BASE=bar
|
||||||
OTP_SECRET=foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar
|
OTP_SECRET=foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar
|
||||||
|
DB_PORT=${process.env.PG_PORT || 5432}
|
||||||
|
DB_USER=nolan
|
||||||
`
|
`
|
||||||
|
|
||||||
const mastodonDir = path.join(dir, '../mastodon')
|
const mastodonDir = path.join(dir, '../mastodon')
|
||||||
|
|
Loading…
Reference in a new issue