.travis.yml: user install on osx only, adding ~/Library/Python/2.7/bin to PATH
[aubio.git] / .travis.yml
1 language: python
2
3 matrix:
4   include:
5     - python: 2.7
6       os: linux
7       compiler: gcc
8       env: ARCH=x86_64
9     - python: 2.7
10       os: linux
11       compiler: gcc
12       env: ARCH=i386
13     - python: 3.4
14       os: linux
15       compiler: gcc
16       env: ARCH=x86_64
17     - python: 3.4
18       os: linux
19       compiler: gcc
20       env: ARCH=i386
21     - language: C
22       os: osx
23       compiler: clang
24       env: ARCH=x86_64
25     - language: C
26       os: osx
27       compiler: clang
28       env: ARCH=i386
29     - python: 2.7
30       os: linux
31       compiler: gcc
32       env: ARCH=x86_64 HAVE_DOUBLE=1
33     - python: 2.7
34       os: linux
35       compiler: gcc
36       env: ARCH=i386 HAVE_DOUBLE=1
37     - python: 3.4
38       os: linux
39       compiler: gcc
40       env: ARCH=x86_64 HAVE_DOUBLE=1
41     - python: 3.4
42       os: linux
43       compiler: gcc
44       env: ARCH=i386 HAVE_DOUBLE=1
45     - language: C
46       os: osx
47       compiler: clang
48       env: ARCH=x86_64 HAVE_DOUBLE=1
49     - language: C
50       os: osx
51       compiler: clang
52       env: ARCH=i386 HAVE_DOUBLE=1
53
54 addons:
55   apt:
56     packages:
57     - bzip2
58     - libsndfile1-dev
59     - libsamplerate-dev
60     - libjack-dev
61     - libasound2-dev
62     - libfftw3-dev
63     - sox
64
65 install:
66   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make travis_retry pip install nose2; fi
67   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then   make travis_retry pip install --user nose2; fi
68
69 script:
70   - echo make create_test_sounds disabled for now
71   - make build
72   - make build_python
73   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test_python; fi
74   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PATH="$HOME/Library/Python/2.7/bin/:$PATH" make test_python_osx; fi
75   - make clean_python
76   - make clean
77   - make distcheck
78
79 notifications:
80     irc:
81         channels:
82             - "irc.freenode.org#aubio"
83         use_notice: true