summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-04 02:27:28 +0200
committerJesse Bounds <jesse@rebounds.net>2016-11-13 16:10:36 -0800
commit610f43cfd2ab02a57dc771074374cc10789933e8 (patch)
treee0b1c61c99a4bb255c240b9e62559461cb41c680 /scripts
parent1b2379509742d4bc5e77ee78df0d66e1ff7077cd (diff)
downloadqtlocation-mapboxgl-610f43cfd2ab02a57dc771074374cc10789933e8.tar.gz
[linux] Use OSMesa when running Node tests
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