[d13f0bb] | 1 | language: python |
---|
[bf45eb5] | 2 | |
---|
[ec6731c] | 3 | matrix: |
---|
| 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" |
---|
[f4c96f5] | 20 | os: linux |
---|
[ed77585] | 21 | - name: "Linux (fftw3, no other deps)" |
---|
| 22 | python: 3.8 |
---|
[95e0336] | 23 | os: linux |
---|
[ed77585] | 24 | env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3 --disable-avcodec --disable-samplerate" |
---|
[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 |
---|
[55d5612] | 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 |
---|
[875d9d1] | 41 | os: osx |
---|
[dabf9ca] | 42 | osx_image: xcode10 |
---|
| 43 | env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --disable-avcodec --disable-sndfile --disable-samplerate" |
---|
[ed77585] | 44 | - name: "iOS" |
---|
| 45 | language: shell |
---|
[875d9d1] | 46 | os: osx |
---|
[69aaefa5] | 47 | env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1 |
---|
[ed77585] | 48 | - name: "iOSSimulator" |
---|
| 49 | language: shell |
---|
[875d9d1] | 50 | os: osx |
---|
[69aaefa5] | 51 | env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1 |
---|
[b8454c74] | 52 | |
---|
[16581da] | 53 | - name: "Windows (Python 3.8.0, lib only)" |
---|
[ed77585] | 54 | language: shell |
---|
| 55 | os: windows |
---|
[a115a3a] | 56 | before_install: |
---|
| 57 | - choco install python --version 3.8.0 |
---|
[cd520be] | 58 | - choco install make |
---|
[a115a3a] | 59 | - python -m pip install --upgrade pip |
---|
[98cfdea] | 60 | env: PATH=/c/Python38:/c/Python38/Scripts:$PATH AUBIO_NOTESTS=1 |
---|
[ed77585] | 61 | |
---|
[082a1cf] | 62 | addons: |
---|
| 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 |
---|
[05c54ff] | 75 | - sox |
---|
[39b686c] | 76 | - lcov |
---|
[d252666] | 77 | homebrew: |
---|
| 78 | packages: |
---|
| 79 | - sox |
---|
| 80 | - ffmpeg |
---|
| 81 | - libsndfile |
---|
| 82 | - lcov |
---|
[8e84c46] | 83 | update: true |
---|
[05c54ff] | 84 | |
---|
[323d330] | 85 | install: |
---|
[fa03fb2] | 86 | - make getwaf deps_python |
---|
[e12d05f] | 87 | - which pip |
---|
| 88 | - pip --version |
---|
[8a11e2f] | 89 | - pip install coverage |
---|
[323d330] | 90 | |
---|
[bf45eb5] | 91 | script: |
---|
[797435f] | 92 | - make create_test_sounds |
---|
[5b52a54] | 93 | - | |
---|
| 94 | if [[ -z "$AUBIO_NOTESTS" ]]; then |
---|
[38b7a69] | 95 | make test_lib_python_clean |
---|
[39b686c] | 96 | make coverage |
---|
[38b7a69] | 97 | else |
---|
| 98 | make test_lib_only_clean |
---|
| 99 | fi; |
---|
[2d0e3fc] | 100 | |
---|
[c918a4d] | 101 | after_success: |
---|
[644c03a] | 102 | - | |
---|
| 103 | if [[ -z "$AUBIO_NOTESTS" ]]; then |
---|
[89bc6f4] | 104 | # upload to codecov |
---|
| 105 | bash <(curl -s https://codecov.io/bash) |
---|
[644c03a] | 106 | fi |
---|
[c918a4d] | 107 | |
---|
[2d0e3fc] | 108 | notifications: |
---|
| 109 | irc: |
---|
| 110 | channels: |
---|
| 111 | - "irc.freenode.org#aubio" |
---|
| 112 | use_notice: true |
---|
[dae3292] | 113 | webhooks: |
---|
| 114 | urls: |
---|
| 115 | - https://webhooks.gitter.im/e/81e7733a5b1d977854b4 |
---|
| 116 | on_success: change # options: [always|never|change] default: always |
---|
| 117 | on_failure: always # options: [always|never|change] default: always |
---|
| 118 | on_start: never # options: [always|never|change] default: always |
---|