From 48a082a91b2f49834cf18df56d2e43be8ed75d11 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Fri, 4 Nov 2016 02:27:28 +0200 Subject: [linux] Use OSMesa when running Node tests --- scripts/travis_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.1