examples/aubionotes.c: add warning for missing options
[aubio.git] / .travis.yml
1 language: python
2
3 matrix:
4   include:
5     - python: 3.5
6       os: linux
7       compiler: gcc
8     - python: 3.4
9       os: linux
10       compiler: gcc
11     - python: 2.7
12       os: linux
13       compiler: gcc
14     - language: C
15       os: osx
16       compiler: clang
17     - python: 3.5
18       os: linux
19       compiler: gcc
20       env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
21     - python: 3.4
22       os: linux
23       compiler: gcc
24       env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
25     - python: 2.7
26       os: linux
27       compiler: gcc
28       env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
29     - language: C
30       os: osx
31       compiler: clang
32       env: CFLAGS="-O0" WAFOPTS="--disable-avcodec --disable-accelerate"
33     - language: C
34       os: osx
35       compiler: clang
36       env: WAFOPTS="--enable-fat --disable-avcodec" HAVE_AUBIO_DOUBLE=1
37     - language: C
38       os: osx
39       compiler: clang
40       env: WAFOPTS="--with-target-platform=ios --disable-avcodec" AUBIO_NOTESTS=1
41
42 dist: trusty
43 sudo: required
44
45 addons:
46   apt:
47     packages:
48     - bzip2
49     - libavcodec-dev
50     - libavformat-dev
51     - libavresample-dev
52     - libavutil-dev
53     - libsndfile1-dev
54     - libsamplerate-dev
55     - libjack-dev
56     - libasound2-dev
57     - libfftw3-dev
58     - sox
59
60 before_install:
61    - |
62      if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
63        brew update
64        brew install sox
65        brew install ffmpeg
66        export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
67      fi;
68
69 install:
70   - travis_retry pip install --upgrade pip
71   - travis_retry make getwaf expandwaf deps_python
72   - which pip
73   - pip --version
74
75 script:
76   - make create_test_sounds
77   - |
78     if [[ -z "$AUBIO_NOTESTS" ]]; then
79       make test_lib_python_clean
80       make test_python_only_clean
81     else
82       make test_lib_only_clean
83     fi;
84
85 notifications:
86     irc:
87         channels:
88             - "irc.freenode.org#aubio"
89         use_notice: true