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: before_install:
- rvm install 2.5.0 - rvm install 2.5.0
- rvm use 2.5.0 - rvm use 2.5.0
before_script:
- node --version
- ruby --version - ruby --version
- node --version
- postgres --version - postgres --version
- redis-server --version - redis-server --version
- psql -c "CREATE USER nolan CREATEDB;"
before_script:
- 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,7 +20,7 @@ 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_PORT=${process.env.PGPORT || 5432}
DB_USER=nolan DB_USER=nolan
` `