From 5cf844d1bb3166c9267607034d9b61959d98d18b Mon Sep 17 00:00:00 2001 From: mbilker Date: Sat, 21 Nov 2015 23:09:10 -0500 Subject: [PATCH] fix(travis): syntax error --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5ad7a660a..0a33dd863 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,8 +40,10 @@ install: - nvm use --delete-prefix $NODE_VERSION before_script: - - [ "${TRAVIS_OS_NAME}" == "linux" ] && export DISPLAY=:99.0 - - [ "${TRAVIS_OS_NAME}" == "linux" ] && sh -e /etc/init.d/xvfb start + - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then + export DISPLAY=:99.0; + sh -e /etc/init.d/xvfb start; + fi script: script/cibuild