2 sudo: false # docker VM
6 env: HOST="" API="alsa"
9 env: HOST="" API="alsa"
12 env: HOST="" API="jack"
15 env: HOST="" API="jack"
18 env: HOST="" API="pulse"
21 env: HOST="" API="pulse"
24 env: HOST="" API="oss"
27 env: HOST="" API="oss"
30 env: HOST="--host=i686-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
33 env: HOST="--host=x86_64-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
36 env: HOST="--host=i686-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
39 env: HOST="--host=x86_64-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
42 env: HOST="--host=i686-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
45 env: HOST="--host=x86_64-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
49 script: cmake . -G "Visual Studio 15 2017" && echo "msbuild.exe /nologo /p:Configuration=Debug RtAudio.sln" >build.bat && set && find /c/Windows -iname msbuild.exe && find /c/Program* -iname msbuild.exe
50 # jack and asound not found on ARM gnueabihf
52 # env: HOST="--host=arm-linux-gnueabihf" API="alsa"
55 # env: HOST="--host=arm-linux-gnueabihf" API="jack"
58 env: HOST="" API="core"
61 env: HOST="" API="core"
64 - 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
65 - if [ $TRAVIS_OS_NAME = osx ]; then brew install doxygen || (brew update && brew install doxygen); fi
66 - if [ -n "$HOST" ]; then unset CXX; unset CC; fi
67 script: ./autogen.sh --enable-debug --with-$API $HOST && make
72 # ALSA: no access to /dev/snd/seq
73 # JACK: Jack server not running