forked from cybrespace/pinafore
tweak .travis.yml
This commit is contained in:
parent
206679b8e3
commit
d482ddcf79
10
.travis.yml
10
.travis.yml
|
@ -1,6 +1,10 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "8"
|
- "8"
|
||||||
|
dist: trusty # needed for chrome headless
|
||||||
|
sudo: required # needed for chrome headless
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
services:
|
services:
|
||||||
- postgresql
|
- postgresql
|
||||||
- redis-server
|
- redis-server
|
||||||
|
@ -8,7 +12,11 @@ before_install:
|
||||||
- rvm install 2.5.0
|
- rvm install 2.5.0
|
||||||
before_script:
|
before_script:
|
||||||
- npm run lint
|
- npm run lint
|
||||||
script: travis_retry npm test
|
script: npm run test-browser
|
||||||
|
env:
|
||||||
|
matrix:
|
||||||
|
- BROWSER=chrome:headless
|
||||||
|
- BROWSER=firefox:headless
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in New Issue