summaryrefslogtreecommitdiff
path: root/scripts/travis_setup.sh
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-04 02:27:28 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-11-04 18:43:08 +0200
commit48a082a91b2f49834cf18df56d2e43be8ed75d11 (patch)
tree56d43117d3394bbd94b6f81a4c5159875c00befe /scripts/travis_setup.sh
parentc5c3145b9a97158145892b645346f6fa6b7e679b (diff)
downloadqtlocation-mapboxgl-48a082a91b2f49834cf18df56d2e43be8ed75d11.tar.gz
[linux] Use OSMesa when running Node tests
Diffstat (limited to 'scripts/travis_setup.sh')
-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