Merge remote-tracking branch 'upstream/pr/139'
[rtaudio-cdist.git] / .travis.yml
1 language: cpp
2 sudo: false  # docker VM
3 matrix:
4   include:
5   - os: linux
6     env: HOST="" API="alsa"
7     compiler: gcc
8   - os: linux
9     env: HOST="" API="alsa"
10     compiler: clang
11   - os: linux
12     env: HOST="" API="jack"
13     compiler: gcc
14   - os: linux
15     env: HOST="" API="jack"
16     compiler: clang
17   - os: linux
18     env: HOST="" API="pulse"
19     compiler: gcc
20   - os: linux
21     env: HOST="" API="pulse"
22     compiler: clang
23   - os: linux
24     env: HOST="" API="oss"
25     compiler: gcc
26   - os: linux
27     env: HOST="" API="oss"
28     compiler: clang
29   - os: linux
30     env: HOST="--host=i686-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
31     compiler: gcc
32   - os: linux
33     env: HOST="--host=x86_64-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
34     compiler: gcc
35   - os: linux
36     env: HOST="--host=i686-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
37     compiler: gcc
38   - os: linux
39     env: HOST="--host=x86_64-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
40     compiler: gcc
41   - os: linux
42     env: HOST="--host=i686-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
43     compiler: gcc
44   - os: linux
45     env: HOST="--host=x86_64-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
46     compiler: gcc
47   # jack and asound not found on ARM gnueabihf
48   # - os: linux
49   #   env: HOST="--host=arm-linux-gnueabihf" API="alsa"
50   #   compiler: gcc
51   # - os: linux
52   #   env: HOST="--host=arm-linux-gnueabihf" API="jack"
53   #   compiler: gcc
54   - os: osx
55     env: HOST="" API="core"
56     compiler: gcc
57   - os: osx
58     env: HOST="" API="core"
59     compiler: clang
60 install:
61 - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install libasound2-dev libjack-dev libpulse-dev doxygen g++-mingw-w64-i686 g++-mingw-w64-x86-64 g++-arm-linux-gnueabihf oss4-dev; fi
62 - if [ $TRAVIS_OS_NAME = osx ]; then brew install doxygen || (brew update && brew install doxygen); fi
63 - if [ -n "$HOST" ]; then unset CXX; unset CC; fi
64 script: ./autogen.sh --enable-debug --with-$API $HOST && make
65 after_script:
66 - make check
67 - make distcheck
68 - make install
69 # ALSA: no access to /dev/snd/seq
70 # JACK: Jack server not running
71 # - tests/midiprobe
72 notifications:
73   email:
74     recipients:
75       - radarsat1@gmail.com
76     on_success: never
77     on_failure: change