mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Travis: add secondary Linux build target
The goal is to reduce the overall wall clock time of our test builds. This secondary Linux target uses the no-sudo container setup with a Qt 5.10.1 backport and tests the build without BT support as well as the mobile build (but not the full desktop build and doesn't create an AppImage as the pre-built Qt5.10.1 is missing QtWebKit). In exchange we remove the no-bt and mobile build from the existing linux target. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1faa5d7ae1
commit
14d18276e4
5 changed files with 90 additions and 3 deletions
23
scripts/linux2/before_install.sh
Normal file
23
scripts/linux2/before_install.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
# prep things so we can build for Linux
|
||||
# we have a custom built Qt some gives us just what we need, including QtWebKit
|
||||
#
|
||||
# this is built from the latest version as of 2017-11-09 in the 5.9 branch and
|
||||
# therefore calls itself Qt-5.9.3
|
||||
|
||||
set -x
|
||||
|
||||
# Travis only pulls shallow repos. But that messes with git describe.
|
||||
# Sorry Travis, fetching the whole thing and the tags as well...
|
||||
git fetch --unshallow
|
||||
git pull --tags
|
||||
git describe
|
||||
|
||||
. /opt/qt510/bin/qt510-env.sh
|
||||
export QT_ROOT=/opt/qt510
|
||||
|
||||
# TestPreferences uses gui calls, so run a xvfb so it has something to talk to
|
||||
export DISPLAY=:99.0
|
||||
sh -e /etc/init.d/xvfb start
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue