Fix #639: run tests on Linux and Mac
This commit is contained in:
parent
9f7f93776e
commit
5cc21c72fb
16
.travis.yml
16
.travis.yml
|
@ -1,16 +1,24 @@
|
||||||
|
sudo: false
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- "lts/*"
|
- "lts/*"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- "node_modules"
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
|
# Setup headless Firefox and Chrome support
|
||||||
|
# https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-the-Chrome-addon-in-the-headless-mode
|
||||||
env:
|
env:
|
||||||
- MOZ_HEADLESS=1
|
- MOZ_HEADLESS=1
|
||||||
|
|
||||||
# Setup headless Chrome support
|
|
||||||
# https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-the-Chrome-addon-in-the-headless-mode
|
|
||||||
addons:
|
addons:
|
||||||
chrome: stable
|
chrome: stable
|
||||||
firefox: latest
|
firefox: latest
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
|
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue