2017-02-05 22:26:52 +00:00
|
|
|
|
2017-11-12 02:48:27 +00:00
|
|
|
|
2017-11-08 14:43:38 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-04-24 13:58:43 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM='ios'
|
|
|
|
os: osx
|
|
|
|
osx_image: xcode9.3
|
|
|
|
language: c++
|
|
|
|
|
2017-11-12 02:48:27 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM='mac'
|
|
|
|
os: osx
|
2019-05-19 19:33:30 +00:00
|
|
|
osx_image: xcode9.2
|
2018-12-23 03:46:38 +00:00
|
|
|
language: c++
|
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- xz
|
|
|
|
- hidapi
|
|
|
|
- libusb
|
|
|
|
- libxml2
|
|
|
|
- libxslt
|
|
|
|
- libzip
|
|
|
|
- openssl
|
|
|
|
- pkg-config
|
|
|
|
- libgit2
|
|
|
|
- libssh2
|
|
|
|
update: true
|
2017-11-12 02:48:27 +00:00
|
|
|
|
2018-10-06 08:11:15 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM='windows-container'
|
|
|
|
os: linux
|
|
|
|
filter_secrets: false
|
|
|
|
language: c++
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2017-11-08 14:43:38 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM='linux'
|
|
|
|
os: linux
|
|
|
|
dist: trusty
|
|
|
|
language: c++
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2017-02-05 22:26:52 +00:00
|
|
|
- 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
|
2017-11-09 20:48:57 +00:00
|
|
|
- libqt5gui5
|
|
|
|
- libxcb-xinerama0
|
2017-11-05 21:28:52 +00:00
|
|
|
# Not a subsurface dependency, but a QtMultimedia/libdeclarative_multimedia.so dependency
|
|
|
|
- libpulse-mainloop-glib0
|
2017-11-05 23:24:33 +00:00
|
|
|
# Not a subsurface dependency, but a QtWebKit dependency
|
|
|
|
- libhyphen-dev
|
|
|
|
- libicu52
|
2018-02-13 21:52:39 +00:00
|
|
|
# For SmartTrak import
|
|
|
|
- libglib2.0-dev
|
|
|
|
- mdbtools-dev
|
2017-02-05 22:26:52 +00:00
|
|
|
|
2019-09-04 06:07:37 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM='linux-trusty-qt512'
|
|
|
|
os: linux
|
|
|
|
language: c++
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2018-05-19 22:07:44 +00:00
|
|
|
- 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'
|
2018-06-17 11:20:13 +00:00
|
|
|
- ubuntu-toolchain-r-test
|
2018-05-19 22:07:44 +00:00
|
|
|
packages:
|
|
|
|
- qt510base
|
|
|
|
- qt510connectivity
|
|
|
|
- qt510declarative
|
|
|
|
- qt510location
|
|
|
|
- qt510quickcontrols
|
|
|
|
- qt510quickcontrols2
|
|
|
|
- qt510script
|
|
|
|
- qt510translations
|
|
|
|
- qt510svg
|
|
|
|
- qt510tools
|
|
|
|
- git
|
2018-06-17 11:20:13 +00:00
|
|
|
- gcc-5
|
|
|
|
- g++-5
|
2018-05-19 22:07:44 +00:00
|
|
|
- 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
|
|
|
|
|
2017-02-06 07:06:55 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM="android"
|
|
|
|
# Currently hard coded to arm
|
|
|
|
os: linux
|
|
|
|
language: c++
|
2017-12-26 19:57:56 +00:00
|
|
|
filter_secrets: false
|
2017-02-06 07:06:55 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
# TODO: caching
|
|
|
|
# cache:
|
|
|
|
# timeout: 300
|
|
|
|
# directories:
|
|
|
|
# - 3pp
|
|
|
|
|
2018-03-22 14:57:04 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM="qt55"
|
2018-07-10 23:03:54 +00:00
|
|
|
os: linux
|
|
|
|
language: c++
|
|
|
|
filter_secrets: false
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2019-05-06 00:15:05 +00:00
|
|
|
# - env: SUBSURFACE_PLATFORM="qt56"
|
|
|
|
# os: linux
|
|
|
|
# language: c++
|
|
|
|
# filter_secrets: false
|
|
|
|
# services:
|
|
|
|
# - docker
|
2018-03-22 14:57:04 +00:00
|
|
|
|
2018-07-11 19:29:23 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM="qt57"
|
|
|
|
os: linux
|
|
|
|
language: c++
|
|
|
|
filter_secrets: false
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2018-07-11 19:31:34 +00:00
|
|
|
- env: SUBSURFACE_PLATFORM="qt59"
|
|
|
|
os: linux
|
|
|
|
language: c++
|
|
|
|
filter_secrets: false
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2017-02-05 22:26:52 +00:00
|
|
|
before_install:
|
2017-11-08 20:26:15 +00:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/before_install.sh
|
2017-02-07 10:57:02 +00:00
|
|
|
|
2017-02-05 22:26:52 +00:00
|
|
|
script:
|
2017-11-08 20:26:15 +00:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/travisbuild.sh
|
2017-11-06 04:24:22 +00:00
|
|
|
|
|
|
|
after_success:
|
2017-11-08 20:26:15 +00:00
|
|
|
- source ${TRAVIS_BUILD_DIR}/scripts/${SUBSURFACE_PLATFORM}/after_success.sh
|
2017-11-06 04:07:55 +00:00
|
|
|
|
2017-11-10 18:34:44 +00:00
|
|
|
branches:
|
2019-03-18 15:58:05 +00:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /^v\d+\.\d+(\.\d+)?$/
|