source: .travis.yml @ ed77585

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

[ci] add names and upgrade travis targets

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