Changeset 633400d for .travis.yml


Ignore:
Timestamp:
Dec 5, 2018, 10:34:39 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
Children:
283a619a
Parents:
5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into feature/pitchshift

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r5b46bc3 r633400d  
    33matrix:
    44  include:
     5    - python: 3.5
     6      os: linux
     7      compiler: gcc
     8    - python: 3.4
     9      os: linux
     10      compiler: gcc
    511    - python: 2.7
    612      os: linux
    713      compiler: gcc
    8       env: ARCH=x86_64
     14    - python: 3.5
     15      os: linux
     16      compiler: gcc
     17      env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
     18    - python: 3.4
     19      os: linux
     20      compiler: gcc
     21      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
    922    - python: 2.7
    1023      os: linux
    1124      compiler: gcc
    12       env: ARCH=i386
    13     - python: 3.4
    14       os: linux
    15       compiler: gcc
    16       env: ARCH=x86_64
    17     - python: 3.4
    18       os: linux
    19       compiler: gcc
    20       env: ARCH=i386 WAFOPTS=--enable-fftw3f
     25      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
    2126    - language: C
    2227      os: osx
    2328      compiler: clang
    24       env: ARCH=x86_64
    2529    - language: C
    2630      os: osx
    2731      compiler: clang
    28       env: ARCH=i386
    29     - python: 2.7
    30       os: linux
    31       compiler: gcc
    32       env: ARCH=x86_64 HAVE_DOUBLE=1 WAFOPTS=--enable-fftw3
    33     - python: 2.7
    34       os: linux
    35       compiler: gcc
    36       env: ARCH=i386 HAVE_DOUBLE=1
    37     - python: 3.4
    38       os: linux
    39       compiler: gcc
    40       env: ARCH=x86_64 HAVE_DOUBLE=1
    41     - python: 3.4
    42       os: linux
    43       compiler: gcc
    44       env: ARCH=i386 HAVE_DOUBLE=1
     32      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate"
    4533    - language: C
    4634      os: osx
    4735      compiler: clang
    48       env: ARCH=x86_64 HAVE_DOUBLE=1
     36      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband"
    4937    - language: C
    5038      os: osx
    5139      compiler: clang
    52       env: ARCH=i386 HAVE_DOUBLE=1
     40      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
    5341    - language: C
    5442      os: osx
    5543      compiler: clang
    56       env: ARCH=x86_64 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
    57     - language: C
    58       os: osx
    59       compiler: clang
    60       env: ARCH=i386 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
     44      env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
     45
     46# use trusty
     47dist: trusty
     48sudo: required
    6149
    6250addons:
     
    6452    packages:
    6553    - bzip2
     54    - libavcodec-dev
     55    - libavformat-dev
     56    - libavresample-dev
     57    - libavutil-dev
    6658    - libsndfile1-dev
    6759    - libsamplerate-dev
     
    7163    - librubberband-dev
    7264    - sox
     65    - lcov
     66  homebrew:
     67    packages:
     68    - sox
     69    - ffmpeg
     70    - libsndfile
     71    - libsamplerate
     72    - rubberband
     73    - lcov
     74    #update: true
    7375
    7476before_install:
    7577   - |
    7678     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    77        brew update
    78        brew install sox libsamplerate libsndfile rubberband
    7979       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
    8080     fi;
    8181
    82 
    8382install:
    84   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_retry pip install nose2; fi
    85   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_retry pip install --user nose2; fi
     83  - |
     84    if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
     85      alias pip=pip2
     86    fi;
     87  - travis_retry pip install --upgrade pip
     88  - travis_retry make getwaf expandwaf deps_python
     89  - which pip
     90  - pip --version
    8691
    8792script:
    8893  - make create_test_sounds
    89   - make build
    90   - make build_python
    91   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make test_python; fi
    92   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then make test_python_osx; fi
    93   - make clean_python
    94   - make clean
    95   - make distcheck
    96   - make test_pure_python
     94  - |
     95    if [[ -z "$AUBIO_NOTESTS" ]]; then
     96      make test_lib_python_clean
     97      make coverage
     98    else
     99      make test_lib_only_clean
     100    fi;
     101
     102after_success:
     103  - |
     104    if [[ -z "$AUBIO_NOTESTS" ]]; then
     105      # upload to codecov
     106      bash <(curl -s https://codecov.io/bash)
     107    fi
    97108
    98109notifications:
     
    101112            - "irc.freenode.org#aubio"
    102113        use_notice: true
     114    webhooks:
     115        urls:
     116            - https://webhooks.gitter.im/e/81e7733a5b1d977854b4
     117        on_success: change  # options: [always|never|change] default: always
     118        on_failure: always  # options: [always|never|change] default: always
     119        on_start: never     # options: [always|never|change] default: always
Note: See TracChangeset for help on using the changeset viewer.