pollymc/.travis.yml
2015-10-20 17:42:22 +02:00

35 lines
623 B
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.5.1 # latest stable
# - QT_VERSION=5.5-beta # latest
matrix:
exclude:
# only use clang on OS X
- os: osx
compiler: gcc
# 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"