Only start xvfb when on linux

This commit is contained in:
lukasmartinelli 2016-11-23 19:12:39 +01:00
parent 253f06805e
commit f13e1836e2

View file

@ -9,7 +9,7 @@ node_js:
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
install:
- npm install
script: