.travis.yml: remove unused ARCH, add ffmpeg on osx
[aubio.git] / .travis.yml
1 language: python
2
3 matrix:
4   include:
5     - python: 2.7
6       os: linux
7       compiler: gcc
8     - python: 3.4
9       os: linux
10       compiler: gcc
11     - python: 3.4
12       os: linux
13       compiler: gcc
14       env: WAFOPTS=--enable-fftw3f
15     - python: 2.7
16       os: linux
17       compiler: gcc
18       env: HAVE_AUBIO_DOUBLE=1 WAFOPTS=--enable-fftw3
19     - python: 2.7
20       os: linux
21       compiler: gcc
22       env: HAVE_AUBIO_DOUBLE=1
23     - python: 3.4
24       os: linux
25       compiler: gcc
26       env: HAVE_AUBIO_DOUBLE=1
27     - python: 3.4
28       os: linux
29       compiler: gcc
30       env: HAVE_AUBIO_DOUBLE=1
31     - language: C
32       os: osx
33       compiler: clang
34     - language: C
35       os: osx
36       compiler: clang
37       env: WAFOPTS=--disable-avcodec
38     - language: C
39       os: osx
40       compiler: clang
41       env: WAFOPTS="--enable-fat --disable-avcodec"
42     - language: C
43       os: osx
44       compiler: clang
45       env: WAFOPTS=--enable-fat --disable-avcodec" HAVE_DOUBLE=1
46
47 addons:
48   apt:
49     packages:
50     - bzip2
51     - libsndfile1-dev
52     - libsamplerate-dev
53     - libjack-dev
54     - libasound2-dev
55     - libfftw3-dev
56     - sox
57
58 before_install:
59    - |
60      if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
61        brew update
62        brew install sox
63        brew install ffmpeg
64        export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
65      fi;
66
67 install:
68   - travis_retry pip install --upgrade pip
69   - travis_retry make getwaf expandwaf deps_python
70   - which pip
71   - pip --version
72
73 script:
74   - make create_test_sounds
75   - make test_lib_python_clean
76   - make test_python_only_clean
77
78 notifications:
79     irc:
80         channels:
81             - "irc.freenode.org#aubio"
82         use_notice: true