try to fix travis postgres

This commit is contained in:
Nolan Lawson 2018-04-09 18:50:35 -07:00
parent d482ddcf79
commit 28db887460
1 changed files with 12 additions and 1 deletions

View File

@ -5,15 +5,26 @@ dist: trusty # needed for chrome headless
sudo: required # needed for chrome headless sudo: required # needed for chrome headless
addons: addons:
chrome: stable chrome: stable
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10
services: services:
- postgresql
- redis-server - redis-server
before_install: before_install:
- rvm install 2.5.0 - rvm install 2.5.0
- rvm use 2.5.0
before_script: before_script:
- node --version
- ruby --version
- postgres --version
- redis-server --version
- npm run lint - npm run lint
script: npm run test-browser script: npm run test-browser
env: env:
global:
- PGPORT=5433
matrix: matrix:
- BROWSER=chrome:headless - BROWSER=chrome:headless
- BROWSER=firefox:headless - BROWSER=firefox:headless