aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-14 22:18:10 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-14 22:18:10 -0800
commitf02388d6b795509fd6e94b0aa0348bfcf0a5af71 (patch)
tree9bfb387689aa717345dcf6a14386351eb9343abf /scripts
parentd4f6773b27330e6a5aa2533fd5e8310c6668ab34 (diff)
downloadsubsurface-f02388d6b795509fd6e94b0aa0348bfcf0a5af71.tar.gz
Travis: test more variations of the build
On Linux we want to test both desktop and mobile, and both the full feature set as well as a build without BT and without WebKit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/linux/travisbuild.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/linux/travisbuild.sh b/scripts/linux/travisbuild.sh
index 0c7f76674..244320d8d 100644
--- a/scripts/linux/travisbuild.sh
+++ b/scripts/linux/travisbuild.sh
@@ -9,8 +9,14 @@ export PATH=$QT_ROOT/bin:$PATH # Make sure correct qmake is found on the $PATH f
export CMAKE_PREFIX_PATH=$QT_ROOT/lib/cmake
# the global build script expects to be called from the directory ABOVE subsurface
+# build both desktop and mobile - first without BT support and without
+# webkit to make sure that still works, then with all components in order
+# to create an AppImage
cd ..
-bash -e -x ./subsurface/scripts/build.sh -desktop -create-appdir -build-with-webkit # we need to build 'both' and need to build without BT and other variations that we want to exercise
+
+bash -e -x ./subsurface/scripts/build.sh -both -no-bt
+rm -rf subsurface/build subsurface/build-mobile
+bash -e -x ./subsurface/scripts/build.sh -both -create-appdir -build-with-webkit
export QT_PLUGIN_PATH=$QT_ROOT/plugins
export QT_QPA_PLATFORM_PLUGIN_PATH=$QT_ROOT/plugins