source: .travis.yml @ 7e8b276

sampler
Last change on this file since 7e8b276 was 0ae2eb8, checked in by Paul Brossier <piem@piem.org>, 8 years ago

.travis.yml: add libsamplerate and libsndfile to brew, disable them to build fat

  • Property mode set to 100644
File size: 2.3 KB
Line 
1language: python
2
3matrix:
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 WAFOPTS=--enable-fftw3f
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 WAFOPTS=--enable-fftw3
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    - language: C
54      os: osx
55      compiler: clang
56      env: ARCH=x86_64 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
57    - language: C
58      os: osx
59      compiler: clang
60      env: ARCH=i386 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
61
62addons:
63  apt:
64    packages:
65    - bzip2
66    - libsndfile1-dev
67    - libsamplerate-dev
68    - libjack-dev
69    - libasound2-dev
70    - libfftw3-dev
71    - librubberband-dev
72    - sox
73
74before_install:
75   - |
76     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
77       brew update
78       brew install sox libsamplerate libsndfile rubberband
79       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
80     fi;
81
82
83install:
84  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_retry pip install nose2; fi
85  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_retry pip install --user nose2; fi
86
87script:
88  - make create_test_sounds
89  - make build
90  - make build_python
91  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test_python; fi
92  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test_python_osx; fi
93  - make clean_python
94  - make clean
95  - make distcheck
96  - make test_pure_python
97
98notifications:
99    irc:
100        channels:
101            - "irc.freenode.org#aubio"
102        use_notice: true
Note: See TracBrowser for help on using the repository browser.