ALSA: Always enable tstamp mode, other small fixes
[jack2.git] / .travis.yml
blob103729fd4517ffb48b2931bee3dc44394c2d9366
1 sudo: false
2 os:
3     - osx
4     - linux
5 language:
6     - cpp
7 compiler:
8     - gcc
9     - clang
10 addons:
11     apt:
12         packages:
13             - libsamplerate-dev
14             - libsndfile-dev
15             - libasound2-dev
17 before_install:
18     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
19     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew outdated pkg-config || brew upgrade pkg-config; fi
20     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install aften; fi 
21     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libsamplerate; fi
22     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install libsndfile; fi
23     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install opus; fi
24     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install readline; fi
26 script:
27     - if [ "$TRAVIS_OS_NAME" == "linux" ]; then ./waf configure --alsa; fi
28     - if [ "$TRAVIS_OS_NAME" == "osx" ]; then ./waf configure --opus=no --readline=no; fi
29     - ./waf build
31 matrix:
32     exclude:
33         - os: osx
34           compiler: gcc