travis and postgres take three

This commit is contained in:
Nolan Lawson 2018-04-09 19:07:28 -07:00
parent b11484ad70
commit 228f979ed9
2 changed files with 4 additions and 4 deletions

View file

@ -15,13 +15,13 @@ services:
before_install:
- rvm install 2.5.0
- rvm use 2.5.0
before_script:
- node --version
- ruby --version
- node --version
- postgres --version
- redis-server --version
- psql -c "CREATE USER nolan CREATEDB;"
before_script:
- npm run lint
- psql -c "CREATE USER nolan CREATE_DB;"
script: npm run test-browser
env:
global:

View file

@ -20,7 +20,7 @@ const envFile = `
PAPERCLIP_SECRET=foo
SECRET_KEY_BASE=bar
OTP_SECRET=foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar
DB_PORT=${process.env.PG_PORT || 5432}
DB_PORT=${process.env.PGPORT || 5432}
DB_USER=nolan
`