travis and postgres take two

This commit is contained in:
Nolan Lawson 2018-04-09 19:02:33 -07:00
parent 28db887460
commit b11484ad70
2 changed files with 3 additions and 0 deletions

View file

@ -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:

View file

@ -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')