mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
634bdcdbcb
No clang, no OSX, nothing
46 lines
870 B
YAML
46 lines
870 B
YAML
# General set up
|
|
language: cpp
|
|
cache: apt
|
|
notifications:
|
|
email: false
|
|
|
|
# Build matrix set up
|
|
compiler:
|
|
- gcc
|
|
# - clang
|
|
os:
|
|
- linux
|
|
# - osx
|
|
env:
|
|
- QT_VERSION=5.4.1 # latest stable
|
|
# - QT_VERSION=5.5-beta # 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.4.1
|
|
- os: osx
|
|
env: QT_VERSION=5.5-beta
|
|
|
|
allow_failures:
|
|
# Qt 5.5 is not yet released and is therefore allowed to fail
|
|
- env: QT_VERSION=5.5-beta
|
|
|
|
# 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"
|
|
|
|
notifications:
|
|
email: false
|