summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 2850b02b4..42c4f811d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,6 +35,10 @@ before_install:
chmod +x ./qt-opensource-linux-x64-android-5.8.0.run ;
./qt-opensource-linux-x64-android-5.8.0.run -platform minimal --script qt-installer-noninteractive.qs --no-force-installations ;
fi
+ # TestPreferences uses gui calls, so run a xvfb so it has something to talk to
+ - "export DISPLAY=:99.0"
+ - "sh -e /etc/init.d/xvfb start"
+
script:
- perl -pi -e 's/BUILDGRANTLEE=1/BUILDGRANTLEE=0/' scripts/build.sh
@@ -43,5 +47,5 @@ script:
- export CMAKE_PREFIX_PATH=$PWD/Qt/5.8/gcc_64/lib/cmake ;
cd .. ;
bash -e ./subsurface/scripts/build.sh
- - cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check_travis
+ - cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check
# - cd subsurface/build-mobile ; env CTEST_OUTPUT_ON_FAILURE=1 make check