summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-19 15:07:44 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-19 21:21:46 -0700
commit14d18276e4c7f9f027b4041d73446d41bae6df67 (patch)
tree7e87070e3fc13fc807b0c3bc5e9334ad1c641d0c /.travis.yml
parent1faa5d7ae19babcab3c8f4214292110964d14a6d (diff)
downloadsubsurface-14d18276e4c7f9f027b4041d73446d41bae6df67.tar.gz
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>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index ec33d9018..20d4110f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,6 +55,46 @@ matrix:
- libglib2.0-dev
- mdbtools-dev
+ - env: SUBSURFACE_PLATFORM='linux2'
+ os: linux
+ dist: trusty
+ language: c++
+ addons:
+ apt:
+ sources:
+ - sourceline: 'ppa:beineri/opt-qt-5.10.1-trusty'
+ key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x10C56D0DE9977759'
+ packages:
+ - qt510base
+ - qt510connectivity
+ - qt510declarative
+ - qt510location
+ - qt510quickcontrols
+ - qt510quickcontrols2
+ - qt510script
+ - qt510translations
+ - qt510svg
+ - qt510tools
+ - git
+ - g++
+ - make
+ - autoconf
+ - automake
+ - libtool
+ - cmake
+ - pkg-config
+ - libxml2-dev
+ - libxslt1-dev
+ - libzip-dev
+ - libsqlite3-dev
+ - libusb-1.0-0-dev
+ - libssl-dev
+ - libssh2-1-dev
+ - libcurl4-openssl-dev
+ # Not a subsurface dependency, but a Qt dependency
+ - mesa-common-dev
+ - libxcb-xinerama0
+
- env: SUBSURFACE_PLATFORM="android"
# Currently hard coded to arm
os: linux