| @@ -2,55 +2,62 @@ language: python · 1 unmodified line |
| 2 | | 2 | |
| 3 | matrix: | 3 | matrix: |
| 4 | include: | 4 | include: |
| 5 | - python: 3.6 | 5 | - name: "Linux (Python 3.8)" |
| | 6 | python: 3.8 |
| 6 | os: linux | 7 | os: linux |
| 7 | compiler: gcc | 8 | distro: bionic |
| 8 | - python: 3.5 | 9 | - name: "Linux (Python 3.6)" |
| | 10 | python: 3.6 |
| 9 | os: linux | 11 | os: linux |
| 10 | compiler: gcc | | |
| 11 | env: WAFOPTS="--build-type=debug" | 12 | env: WAFOPTS="--build-type=debug" |
| 12 | - python: 2.7 | 13 | - name: "Linux (Python 2.7)" |
| | 14 | python: 2.7 |
| 13 | os: linux | 15 | os: linux |
| 14 | compiler: gcc | 16 | distro: trusty |
| 15 | - python: "pypy3.5" | 17 | - name: "Linux (Python pypy3.5)" |
| | 18 | language: python |
| | 19 | python: "pypy3.5" |
| 16 | os: linux | 20 | os: linux |
| 17 | compiler: gcc | 21 | - name: "Linux (fftw3, no other deps)" |
| 18 | env: CFLAGS="-Os" WAFOPTS="--disable-avcodec" | 22 | python: 3.8 |
| 19 | - python: 3.6 | | |
| 20 | os: linux | 23 | os: linux |
| 21 | compiler: gcc | 24 | env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3 --disable-avcodec --disable-samplerate" |
| 22 | env: CFLAGS="-Os" WAFOPTS="--disable-samplerate" | 25 | - name: "Linux (default, dpkg-buildflags)" |
| 23 | - python: 3.5 | | |
| 24 | os: linux | 26 | os: linux |
| 25 | compiler: gcc | | |
| 26 | env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3" | | |
| 27 | - python: 2.7 | | |
| 28 | os: linux | | |
| 29 | compiler: gcc | | |
| 30 | env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`" | 27 | env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`" |
| 31 | - language: C | 28 | |
| | 29 | - name: "macOS (xcode11)" |
| | 30 | language: shell |
| 32 | os: osx | 31 | os: osx |
| 33 | compiler: clang | 32 | osx_image: xcode11 |
| 34 | - language: C | 33 | - name: "macOS (xcode12, lib only)" |
| | 34 | language: shell |
| 35 | os: osx | 35 | os: osx |
| 36 | compiler: clang | 36 | osx_image: xcode12 |
| 37 | env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate" | 37 | script: |
| 38 | - language: C | 38 | - make test_lib_only_clean |
| | 39 | - name: "macOS (xcode10, noopt, nodeps)" |
| | 40 | language: shell |
| 39 | os: osx | 41 | os: osx |
| 40 | compiler: clang | 42 | osx_image: xcode10 |
| 41 | env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" | 43 | env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" |
| 42 | - language: C | 44 | - name: "iOS" |
| | 45 | language: shell |
| 43 | os: osx | 46 | os: osx |
| 44 | compiler: clang | | |
| 45 | env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 | 47 | env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 |
| 46 | - language: C | 48 | - name: "iOSSimulator" |
| | 49 | language: shell |
| 47 | os: osx | 50 | os: osx |
| 48 | compiler: clang | | |
| 49 | env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 | 51 | env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 |
| 50 | | 52 | |
| 51 | # use trusty | 53 | # - name: "Windows (Python 3.8.0, lib only)" |
| 52 | dist: trusty | 54 | # language: shell |
| 53 | sudo: required | 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 |
| 54 | | 61 | |
| 55 | addons: | 62 | addons: |
| 56 | apt: | 63 | apt: |
| @@ -78,19 +85,8 @@ addons: · 21 unmodified lines |
| 78 | - lcov | 85 | - lcov |
| 79 | update: true | 86 | update: true |
| 80 | | 87 | |
| 81 | before_install: | | |
| 82 | - | | | |
| 83 | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | | |
| 84 | export PATH="$HOME/Library/Python/2.7/bin/:$PATH" | | |
| 85 | fi; | | |
| 86 | | | |
| 87 | install: | 88 | install: |
| 88 | - | | 89 | - make getwaf deps_python |
| 89 | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | | |
| 90 | alias pip=pip2 | | |
| 91 | fi; | | |
| 92 | - travis_retry pip install --upgrade pip | | |
| 93 | - travis_retry make getwaf expandwaf deps_python | | |
| 94 | - which pip | 90 | - which pip |
| 95 | - pip --version | 91 | - pip --version |
| 96 | - pip install coverage | 92 | - pip install coverage |