mirror of
https://github.com/maputnik/editor.git
synced 2026-06-20 06:07:25 +00:00
Only start xvfb when on linux
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ node_js:
|
|||||||
before_install:
|
before_install:
|
||||||
- export CHROME_BIN=chromium-browser
|
- export CHROME_BIN=chromium-browser
|
||||||
- export DISPLAY=:99.0
|
- 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:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user