summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-14 11:07:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-14 13:37:17 -0700
commit804a5be71f1554d80d742afe3718b7ee26ee786e (patch)
tree1bc3a8501f1e44aabbea720403cb0e0676751515 /scripts
parent5ce4b3d5eb7ac75c0db38cd6b0c5cd5bdade9448 (diff)
downloadsubsurface-804a5be71f1554d80d742afe3718b7ee26ee786e.tar.gz
Travis: test mobile build under Linux-Trusty-Qt-5.12
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/linux-trusty-qt512/in-container-build.sh4
-rw-r--r--scripts/linux-trusty-qt512/travisbuild.sh5
2 files changed, 8 insertions, 1 deletions
diff --git a/scripts/linux-trusty-qt512/in-container-build.sh b/scripts/linux-trusty-qt512/in-container-build.sh
index c8c21bc31..e0b888390 100644
--- a/scripts/linux-trusty-qt512/in-container-build.sh
+++ b/scripts/linux-trusty-qt512/in-container-build.sh
@@ -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
diff --git a/scripts/linux-trusty-qt512/travisbuild.sh b/scripts/linux-trusty-qt512/travisbuild.sh
index 91981108e..1a5c3c470 100644
--- a/scripts/linux-trusty-qt512/travisbuild.sh
+++ b/scripts/linux-trusty-qt512/travisbuild.sh
@@ -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