Travis: test mobile build under Linux-Trusty-Qt-5.12

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-14 11:07:42 -07:00
parent 5ce4b3d5eb
commit 804a5be71f
2 changed files with 8 additions and 1 deletions

View file

@ -9,6 +9,10 @@ set -e
export PATH=$QT_ROOT/bin:$PATH # Make sure correct qmake is found on the $PATH for linuxdeployqt
export CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
# first make sure that no one broke Subsurface-mobile
bash -e -x /subsurface/scripts/build.sh -mobile -quick
# now build our AppImage
bash -e -x /subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit -quick
export QT_PLUGIN_PATH=$QT_ROOT/plugins

View file

@ -8,6 +8,9 @@ set -e
docker exec -t trusty-qt512 bash subsurface/scripts/linux-trusty-qt512/in-container-build.sh 2>&1 | tee build.log
# fail the build if we didn't create the target binary
# fail the build if we didn't create Subsurface-mobile
grep "Built target subsurface-mobile" build.log
# fail the build if we didn't create the AppImage
grep "Please consider submitting your AppImage to AppImageHub" build.log