Merge remote-tracking branch 'upstream/pr/174'
[rtaudio-cdist.git] / .travis.yml
index 41f8e6d96855c8e65f8ec9eeb7e38a848ab57bc3..838f834e269c206b52f817ef244fa802f08a6551 100644 (file)
@@ -1,8 +1,5 @@
 language: cpp
 sudo: false  # docker VM
-branches:
-  only:
-    - travis
 matrix:
   include:
   - os: linux
@@ -30,28 +27,22 @@ matrix:
     env: HOST="" API="oss"
     compiler: clang
   - os: linux
-    env: HOST="--host=i686-w64-mingw32" API="winmm"
+    env: HOST="--host=i686-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
     compiler: gcc
   - os: linux
-    env: HOST="--host=x86_64-w64-mingw32" API="winmm"
+    env: HOST="--host=x86_64-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
     compiler: gcc
   - os: linux
-    env: HOST="--host=i686-w64-mingw32" API="dsound"
+    env: HOST="--host=i686-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
     compiler: gcc
   - os: linux
-    env: HOST="--host=x86_64-w64-mingw32" API="dsound"
+    env: HOST="--host=x86_64-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
     compiler: gcc
   - os: linux
-    env: HOST="--host=i686-w64-mingw32" API="asio"
+    env: HOST="--host=i686-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
     compiler: gcc
   - os: linux
-    env: HOST="--host=x86_64-w64-mingw32" API="asio"
-    compiler: gcc
-  - os: linux
-    env: HOST="--host=i686-w64-mingw32" API="wasapi"
-    compiler: gcc
-  - os: linux
-    env: HOST="--host=x86_64-w64-mingw32" API="wasapi"
+    env: HOST="--host=x86_64-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
     compiler: gcc
   # jack and asound not found on ARM gnueabihf
   # - os: linux
@@ -67,7 +58,7 @@ matrix:
     env: HOST="" API="core"
     compiler: clang
 install:
-- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install libasound2-dev libjack-dev doxygen g++-mingw-w64-i686 g++-mingw-w64-x86-64 g++-arm-linux-gnueabihf oss4-dev; fi
+- 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
 - if [ $TRAVIS_OS_NAME = osx ]; then brew install doxygen || (brew update && brew install doxygen); fi
 - if [ -n "$HOST" ]; then unset CXX; unset CC; fi
 script: ./autogen.sh --enable-debug --with-$API $HOST && make
@@ -79,4 +70,8 @@ after_script:
 # JACK: Jack server not running
 # - tests/midiprobe
 notifications:
-  email: false
+  email:
+    recipients:
+      - radarsat1@gmail.com
+    on_success: never
+    on_failure: change