source: .travis.yml @ e8aed04c

Last change on this file since e8aed04c was 4b33381, checked in by Paul Brossier <piem@piem.org>, 10 months ago

[ci] use libswresample on travis

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[d13f0bb]1language: python
[bf45eb5]2
[ec6731c]3matrix:
4  include:
[40aaf72]5    - name: "Linux (Python 3.8)"
[ed77585]6      python: 3.8
[ec6731c]7      os: linux
[832b6c59]8      distro: bionic
[40aaf72]9    - name: "Linux (Python 3.6)"
[ed77585]10      python: 3.6
[ec6731c]11      os: linux
[bec1396]12      env: WAFOPTS="--build-type=debug"
[9c730b5]13    - name: "Linux (Python 2.7, nodeps)"
[ed77585]14      python: 2.7
[95e0336]15      os: linux
[832b6c59]16      distro: trusty
[9c730b5]17      env: WAFOPTS="--nodeps"
[40aaf72]18    - name: "Linux (Python pypy3.5)"
[c43ebef]19      language: python
[4a01d2d]20      python: "pypy3.5"
[f4c96f5]21      os: linux
[9c730b5]22    - name: "Linux (double, fftw3)"
[ed77585]23      python: 3.8
[95e0336]24      os: linux
[f4c96f5]25      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
[5e47483]26    - name: "Linux (default, dpkg-buildflags)"
[95e0336]27      os: linux
[ced47c7]28      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
[ed77585]29
30    - name: "macOS (xcode11)"
31      language: shell
[95e0336]32      os: osx
[ed77585]33      osx_image: xcode11
[666a5e5]34    - name: "macOS (xcode12, lib only)"
[ed77585]35      language: shell
[55d5612]36      os: osx
[dabf9ca]37      osx_image: xcode12
[666a5e5]38      script:
[3194ca04]39        - make test_lib_only_clean
[ed77585]40    - name: "macOS (xcode10, noopt, nodeps)"
[dabf9ca]41      language: shell
[875d9d1]42      os: osx
[dabf9ca]43      osx_image: xcode10
[c356ee9]44      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --nodeps"
[ed77585]45    - name: "iOS"
46      language: shell
[875d9d1]47      os: osx
[c356ee9]48      env: WAFOPTS="--with-target-platform=ios --nodeps" AUBIO_NOTESTS=1
[ed77585]49    - name: "iOSSimulator"
50      language: shell
[875d9d1]51      os: osx
[c356ee9]52      env: WAFOPTS="--with-target-platform=iosimulator --nodeps" AUBIO_NOTESTS=1
[b8454c74]53
[edf0dbd]54#    - name: "Windows (Python 3.8.0, lib only)"
55#      language: shell
56#      os: windows
57#      before_install:
58#        - choco install python --version 3.8.0
59#        - choco install make
60#        - python -m pip install --upgrade pip
61#      env: PATH=/c/Python38:/c/Python38/Scripts:$PATH AUBIO_NOTESTS=1
[75023b6]62
[082a1cf]63addons:
64  apt:
65    packages:
66    - bzip2
[75023b6]67    - libavcodec-dev
68    - libavformat-dev
[4b33381]69    - libswresample-dev
[75023b6]70    - libavutil-dev
[082a1cf]71    - libsndfile1-dev
72    - libsamplerate-dev
[a49943d]73    - libvorbis-dev
[56d781a]74    - libflac-dev
[082a1cf]75    - libjack-dev
76    - libasound2-dev
77    - libfftw3-dev
[c2d076b]78    - librubberband-dev
[05c54ff]79    - sox
[39b686c]80    - lcov
[d252666]81  homebrew:
82    packages:
83    - sox
84    - ffmpeg
85    - libsndfile
[a49943d]86    - libvorbis
[501ecef]87    - flac
[633400d]88    - libsamplerate
89    - rubberband
[d252666]90    - lcov
[8e84c46]91    update: true
[05c54ff]92
[323d330]93install:
[fa03fb2]94  - make getwaf deps_python
[e12d05f]95  - which pip
96  - pip --version
[8a11e2f]97  - pip install coverage
[323d330]98
[bf45eb5]99script:
[797435f]100  - make create_test_sounds
[5b52a54]101  - |
102    if [[ -z "$AUBIO_NOTESTS" ]]; then
[38b7a69]103      make test_lib_python_clean
[39b686c]104      make coverage
[38b7a69]105    else
106      make test_lib_only_clean
107    fi;
[2d0e3fc]108
[c918a4d]109after_success:
[644c03a]110  - |
111    if [[ -z "$AUBIO_NOTESTS" ]]; then
[89bc6f4]112      # upload to codecov
113      bash <(curl -s https://codecov.io/bash)
[644c03a]114    fi
[c918a4d]115
[2d0e3fc]116notifications:
117    irc:
118        channels:
119            - "irc.freenode.org#aubio"
120        use_notice: true
[dae3292]121    webhooks:
122        urls:
123            - https://webhooks.gitter.im/e/81e7733a5b1d977854b4
124        on_success: change  # options: [always|never|change] default: always
125        on_failure: always  # options: [always|never|change] default: always
126        on_start: never     # options: [always|never|change] default: always
Note: See TracBrowser for help on using the repository browser.