.travis.yml: add target ios and disable accelerate configs
[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       env: WAFOPTS=--enable-fftw3
15     - language: C
16       os: osx
17       compiler: clang
18     - python: 3.5
19       os: linux
20       compiler: gcc
21       env: HAVE_AUBIO_DOUBLE=1
22     - python: 2.7
23       os: linux
24       compiler: gcc
25       env: HAVE_AUBIO_DOUBLE=1 WAFOPTS=--enable-fftw3
26     - python: 2.7
27       os: linux
28       compiler: gcc
29       env: HAVE_AUBIO_DOUBLE=1
30     - language: C
31       os: osx
32       compiler: clang
33       env: WAFOPTS="--disable-avcodec --disable-accelerate"
34     - language: C
35       os: osx
36       compiler: clang
37       env: WAFOPTS="--enable-fat --disable-avcodec"
38     - language: C
39       os: osx
40       compiler: clang
41       env: WAFOPTS="--enable-fat --disable-avcodec --with-target-platform=ios"
42
43 addons:
44   apt:
45     packages:
46     - bzip2
47     - libsndfile1-dev
48     - libsamplerate-dev
49     - libjack-dev
50     - libasound2-dev
51     - libfftw3-dev
52     - sox
53
54 before_install:
55    - |
56      if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
57        brew update
58        brew install sox
59        brew install ffmpeg
60        export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
61      fi;
62
63 install:
64   - travis_retry pip install --upgrade pip
65   - travis_retry make getwaf expandwaf deps_python
66   - which pip
67   - pip --version
68
69 script:
70   - make create_test_sounds
71   - make test_lib_python_clean
72   - make test_python_only_clean
73
74 notifications:
75     irc:
76         channels:
77             - "irc.freenode.org#aubio"
78         use_notice: true