source: .travis.yml @ 7c9285f

feature/cnnfeature/crepefix/ffmpeg5
Last change on this file since 7c9285f was 7c9285f, checked in by Paul Brossier <piem@piem.org>, 5 years ago

[ci] disable all deps on travis nodeps

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