summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-05 17:48:53 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-05 19:37:23 -0800
commitf32b431a6da59beed90671dd30f2ec665261c767 (patch)
tree0378670f6f87cf02a433c57180c4ece6799d5963
parent2f81a6927bafba350a76eb0add62ecc55b7e4163 (diff)
downloadsubsurface-f32b431a6da59beed90671dd30f2ec665261c767.tar.gz
Travis: find the Qt plugins when running tests
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--.travis.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4c50228fb..6e771b053 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -44,10 +44,15 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
script:
- - export PATH=$PWD/Qt/5.9.1/bin:$PATH # Make sure correct qmake is found on the $PATH for linuxdeployqt
- - export CMAKE_PREFIX_PATH=$PWD/Qt/5.9.1/lib/cmake ;
+ - export QT_ROOT=$PWD/Qt
+ - export PATH=$QT_ROOT/5.9.1/bin:$PATH # Make sure correct qmake is found on the $PATH for linuxdeployqt
+ - export CMAKE_PREFIX_PATH=$QT_ROOT/5.9.1/lib/cmake ;
cd .. ;
bash -e ./subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit
+ - export QT_PLUGIN_PATH=$QT_ROOT/5.9.1/plugins
+ - export QT_QPA_PLATFORM_PLUGIN_PATH=$QT_ROOT/5.9.1/plugins
+ - export QT_DEBUG_PLUGINS=1
+ - find $QT_ROOT/5.9.1/plugins
- env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build check
- # env CTEST_OUTPUT_ON_FAILURE=1 make -C subsurface/build-mobile check
- mkdir -p appdir/usr/plugins/ ; mv appdir/usr/home/travis/build/*/subsurface/Qt/5.9.1/plugins/* appdir/usr/plugins/