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
- redis-server --version
- npm run lint
- psql -c "CREATE USER nolan CREATE_DB;"
script: npm run test-browser
env:
global:

View file

@ -20,6 +20,8 @@ const envFile = `
PAPERCLIP_SECRET=foo
SECRET_KEY_BASE=bar
OTP_SECRET=foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar
DB_PORT=${process.env.PG_PORT || 5432}
DB_USER=nolan
`
const mastodonDir = path.join(dir, '../mastodon')