2015-06-01 19:32:55 +05:30
|
|
|
# General set up
|
2014-03-24 02:59:27 +05:30
|
|
|
language: cpp
|
2015-06-01 19:32:55 +05:30
|
|
|
cache: apt
|
|
|
|
|
|
|
|
# Build matrix set up
|
2014-03-24 02:59:27 +05:30
|
|
|
compiler:
|
|
|
|
- gcc
|
2015-06-01 19:32:55 +05:30
|
|
|
# - clang
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
# - osx
|
|
|
|
env:
|
2016-01-06 13:17:31 +05:30
|
|
|
- QT_VERSION=5.4.2
|
2016-05-16 01:20:26 +05:30
|
|
|
- QT_VERSION=5.5.1
|
2016-07-09 00:48:57 +05:30
|
|
|
- QT_VERSION=5.6.1
|
|
|
|
- QT_VERSION=5.7
|
|
|
|
# latest
|
2015-06-01 19:32:55 +05:30
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
# only use clang on OS X
|
|
|
|
- os: osx
|
|
|
|
compiler: gcc
|
2016-01-06 13:17:31 +05:30
|
|
|
# only use the qt available from homebrew
|
|
|
|
- os: osx
|
|
|
|
env: QT_VERSION=5.4.2
|
|
|
|
- os: osx
|
|
|
|
env: QT_VERSION=5.5.1
|
2016-05-16 01:20:26 +05:30
|
|
|
- os: osx
|
|
|
|
env: QT_VERSION=5.6
|
2015-08-20 15:46:36 +05:30
|
|
|
|
2015-06-01 19:32:55 +05:30
|
|
|
# Install dependencies
|
2014-03-24 02:59:27 +05:30
|
|
|
install:
|
2015-06-01 19:32:55 +05:30
|
|
|
- source travis/prepare.sh # installs qt and cmake. need to source because some env vars are set from there
|
|
|
|
|
|
|
|
# Actual work
|
2014-03-24 02:59:27 +05:30
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2015-06-01 19:32:55 +05:30
|
|
|
- cmake -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH ..
|
2014-03-24 02:59:27 +05:30
|
|
|
script:
|
2015-05-28 23:08:29 +05:30
|
|
|
- make -j4 && make test ARGS="-V"
|