From f02388d6b795509fd6e94b0aa0348bfcf0a5af71 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 14 Nov 2017 22:18:10 -0800 Subject: 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 --- scripts/linux/travisbuild.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2