pollymc/.travis.yml

56 lines
1.1 KiB
YAML
Raw Normal View History

# General set up
2014-03-24 02:59:27 +05:30
language: cpp
cache: apt
notifications:
2015-10-20 21:12:22 +05:30
irc: "irc.esper.net#MultiMC"
email: false
# Build matrix set up
2014-03-24 02:59:27 +05:30
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
2015-08-20 15:46:36 +05:30
# Install dependencies
2014-03-24 02:59:27 +05:30
install:
- 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
- cmake -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH ..
2014-03-24 02:59:27 +05:30
script:
- make -j4 && make test ARGS="-V"