aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 681e7fdc442266580321028013e97b8ac670f6d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# 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

notifications:
  irc: "irc.esper.net#MultiMC

# 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