diff options
-rw-r--r-- | .travis.yml | 9 |
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/ |