PrismLauncher/.travis.yml
Jan Dalheimer 34bf4ccdc7 NOISSUE Add more qt versions to travis
5.0, 5.1 and 5.2 are currently marked as "allow failure". If they can be made
to pass they should be removed from this list, if not they should be removed
entirely.
2016-01-06 10:33:47 +01:00

56 lines
1.1 KiB
YAML

# General set up
language: cpp
cache: apt
notifications:
irc: "irc.esper.net#MultiMC"
email: false
# Build matrix set up
compiler:
- gcc
# - clang
os:
- linux
# - osx
env:
- QT_VERSION=5.0.2
- QT_VERSION=5.1.1
- QT_VERSION=5.2.1
- QT_VERSION=5.3.2
- QT_VERSION=5.4.2
- QT_VERSION=5.5.1 # latest
matrix:
exclude:
# only use clang on OS X
- os: osx
compiler: gcc
# only use the qt available from homebrew
- os: osx
env: QT_VERSION=5.0.2
- os: osx
env: QT_VERSION=5.1.1
- os: osx
env: QT_VERSION=5.2.1
- os: osx
env: QT_VERSION=5.3.2
- os: osx
env: QT_VERSION=5.4.2
- os: osx
env: QT_VERSION=5.5.1
allow_failures:
- env: QT_VERSION=5.0.2
- env: QT_VERSION=5.1.1
- env: QT_VERSION=5.2.1
# Install dependencies
install:
- source travis/prepare.sh # installs qt and cmake. need to source because some env vars are set from there
# Actual work
before_script:
- mkdir build
- cd build
- cmake -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH ..
script:
- make -j4 && make test ARGS="-V"