add device id to audioprobe output
[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="winmm" CPPFLAGS="-Wno-unused-function"
31     compiler: gcc
32   - os: linux
33     env: HOST="--host=x86_64-w64-mingw32" API="winmm" CPPFLAGS="-Wno-unused-function"
34     compiler: gcc
35   - os: linux
36     env: HOST="--host=i686-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
37     compiler: gcc
38   - os: linux
39     env: HOST="--host=x86_64-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
40     compiler: gcc
41   - os: linux
42     env: HOST="--host=i686-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
43     compiler: gcc
44   - os: linux
45     env: HOST="--host=x86_64-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
46     compiler: gcc
47   - os: linux
48     env: HOST="--host=i686-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
49     compiler: gcc
50   - os: linux
51     env: HOST="--host=x86_64-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
52     compiler: gcc
53   # jack and asound not found on ARM gnueabihf
54   # - os: linux
55   #   env: HOST="--host=arm-linux-gnueabihf" API="alsa"
56   #   compiler: gcc
57   # - os: linux
58   #   env: HOST="--host=arm-linux-gnueabihf" API="jack"
59   #   compiler: gcc
60   - os: osx
61     env: HOST="" API="core"
62     compiler: gcc
63   - os: osx
64     env: HOST="" API="core"
65     compiler: clang
66 install:
67 - 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
68 - if [ $TRAVIS_OS_NAME = osx ]; then brew install doxygen || (brew update && brew install doxygen); fi
69 - if [ -n "$HOST" ]; then unset CXX; unset CC; fi
70 script: ./autogen.sh --enable-debug --with-$API $HOST && make
71 after_script:
72 - make check
73 - make distcheck
74 - make install
75 # ALSA: no access to /dev/snd/seq
76 # JACK: Jack server not running
77 # - tests/midiprobe
78 notifications:
79   email:
80     recipients:
81       - radarsat1@gmail.com
82     on_success: never
83     on_failure: change