source: .travis.yml @ 22b0807

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
Last change on this file since 22b0807 was 22b0807, checked in by Paul Brossier <piem@piem.org>, 7 years ago

.travis.yml: sudo required

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[d13f0bb]1language: python
[bf45eb5]2
[ec6731c]3matrix:
4  include:
[5f9729d]5    - python: 3.5
[ec6731c]6      os: linux
7      compiler: gcc
8    - python: 3.4
9      os: linux
10      compiler: gcc
[95e0336]11    - python: 2.7
12      os: linux
13      compiler: gcc
[5f9729d]14    - language: C
15      os: osx
16      compiler: clang
17    - python: 3.5
[95e0336]18      os: linux
19      compiler: gcc
[38b7a69]20      env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
21    - python: 3.4
[95e0336]22      os: linux
23      compiler: gcc
[38b7a69]24      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
[5f9729d]25    - python: 2.7
[95e0336]26      os: linux
27      compiler: gcc
[ced47c7]28      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
[95e0336]29    - language: C
30      os: osx
31      compiler: clang
[98ce21e7]32      env: CFLAGS="-O0" WAFOPTS="--disable-avcodec --disable-accelerate"
[55d5612]33    - language: C
34      os: osx
35      compiler: clang
[ced47c7]36      env: WAFOPTS="--enable-fat --disable-avcodec" HAVE_AUBIO_DOUBLE=1
[55d5612]37    - language: C
38      os: osx
39      compiler: clang
[38b7a69]40      env: WAFOPTS="--with-target-platform=ios --disable-avcodec" AUBIO_NOTESTS=1
[b8454c74]41
[75023b6]42dist: trusty
[22b0807]43sudo: required
[75023b6]44
[082a1cf]45addons:
46  apt:
47    packages:
48    - bzip2
[75023b6]49    - libavcodec-dev
50    - libavformat-dev
51    - libavresample-dev
52    - libavutil-dev
[082a1cf]53    - libsndfile1-dev
54    - libsamplerate-dev
55    - libjack-dev
56    - libasound2-dev
57    - libfftw3-dev
[05c54ff]58    - sox
59
[fe5ff6d]60before_install:
[e6c83dc]61   - |
62     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
63       brew update
64       brew install sox
[f4a5d37]65       brew install ffmpeg
[e6c83dc]66       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
67     fi;
68
[323d330]69install:
[7a1bbbd]70  - travis_retry pip install --upgrade pip
71  - travis_retry make getwaf expandwaf deps_python
[e12d05f]72  - which pip
73  - pip --version
[323d330]74
[bf45eb5]75script:
[797435f]76  - make create_test_sounds
[5b52a54]77  - |
78    if [[ -z "$AUBIO_NOTESTS" ]]; then
[38b7a69]79      make test_lib_python_clean
80      make test_python_only_clean
81    else
82      make test_lib_only_clean
83    fi;
[2d0e3fc]84
85notifications:
86    irc:
87        channels:
88            - "irc.freenode.org#aubio"
89        use_notice: true
Note: See TracBrowser for help on using the repository browser.