try to fix travis postgres
This commit is contained in:
parent
d482ddcf79
commit
28db887460
13
.travis.yml
13
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue