summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis_setup.sh b/scripts/travis_setup.sh
index 6fa1cc858c..47df36788d 100755
--- a/scripts/travis_setup.sh
+++ b/scripts/travis_setup.sh
@@ -38,7 +38,7 @@ mapbox_time "touch_package_json" \
touch package.json
# Start the mock X server
-if [ -f /etc/init.d/xvfb ] && [ -z "${WITH_OSMESA}" ]; then
+if [ -f /etc/init.d/xvfb ] && [ ! -z "${RUN_XVFB}" ]; then
mapbox_time "start_xvfb" \
sh -e /etc/init.d/xvfb start
sleep 2 # sometimes, xvfb takes some time to start up