From f13e1836e240cbdfa6a673f36ecaee59169ce737 Mon Sep 17 00:00:00 2001 From: lukasmartinelli Date: Wed, 23 Nov 2016 19:12:39 +0100 Subject: [PATCH] Only start xvfb when on linux --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 62dbbc1..e0a1f24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: