source: .travis.yml @ 3d2e481

sampler
Last change on this file since 3d2e481 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
RevLine 
[d13f0bb]1language: python
[bf45eb5]2
[ec6731c]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
[1f8061c]12      env: ARCH=i386
[ec6731c]13    - python: 3.4
14      os: linux
15      compiler: gcc
16      env: ARCH=x86_64
17    - python: 3.4
18      os: linux
[dcbea24]19      compiler: gcc
[f2e9a8a]20      env: ARCH=i386 WAFOPTS=--enable-fftw3f
[1f8061c]21    - language: C
22      os: osx
[3581fb5]23      compiler: clang
24      env: ARCH=x86_64
25    - language: C
26      os: osx
27      compiler: clang
28      env: ARCH=i386
[95e0336]29    - python: 2.7
30      os: linux
31      compiler: gcc
[1019a2a]32      env: ARCH=x86_64 HAVE_DOUBLE=1 WAFOPTS=--enable-fftw3
[95e0336]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
[55d5612]53    - language: C
54      os: osx
55      compiler: clang
[0ae2eb8]56      env: ARCH=x86_64 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
[55d5612]57    - language: C
58      os: osx
59      compiler: clang
[0ae2eb8]60      env: ARCH=i386 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
[b8454c74]61
[082a1cf]62addons:
63  apt:
64    packages:
65    - bzip2
66    - libsndfile1-dev
67    - libsamplerate-dev
68    - libjack-dev
69    - libasound2-dev
70    - libfftw3-dev
[c2d076b]71    - librubberband-dev
[05c54ff]72    - sox
73
[fe5ff6d]74before_install:
[e6c83dc]75   - |
76     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
77       brew update
[0ae2eb8]78       brew install sox libsamplerate libsndfile rubberband
[e6c83dc]79       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
80     fi;
81
[fe5ff6d]82
[323d330]83install:
[8f7ed55]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
[323d330]86
[bf45eb5]87script:
[797435f]88  - make create_test_sounds
[79adbda]89  - make build
[3708c15]90  - make build_python
[1700a2d]91  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test_python; fi
[e6c83dc]92  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test_python_osx; fi
[3708c15]93  - make clean_python
[6121dd4]94  - make clean
[79adbda]95  - make distcheck
[2e65426]96  - make test_pure_python
[2d0e3fc]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.