diff options
Diffstat (limited to 'scripts/linux2/travisbuild.sh')
-rw-r--r-- | scripts/linux2/travisbuild.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/linux2/travisbuild.sh b/scripts/linux2/travisbuild.sh new file mode 100644 index 000000000..ecb275868 --- /dev/null +++ b/scripts/linux2/travisbuild.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +set -x +set -e + +# this gets executed by Travis when building an AppImage for Linux +# it gets started from inside the subsurface directory + +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 + +# the global build script expects to be called from the directory ABOVE subsurface +# build both desktop and mobile - first desktop 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 -no-bt +rm -rf subsurface/build +bash -e -x ./subsurface/scripts/build.sh -mobile + |