Changeset 41b985f for .travis.yml


Ignore:
Timestamp:
Mar 12, 2017, 11:26:24 AM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
bde49c4a
Parents:
71f2e5f (diff), 67b6618 (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 'origin/master' into sampler

Conflicts:

.travis.yml
Makefile
examples/aubionotes.c
examples/parse_args.h
python/demos/demo_timestretch_online.py
python/lib/moresetuptools.py
python/tests/test_source.py
setup.py
src/io/source.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r71f2e5f r41b985f  
    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    - language: C
     15      os: osx
     16      osx_image: xcode8
     17      compiler: clang
     18    - python: 3.5
     19      os: linux
     20      compiler: gcc
     21      env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
     22    - python: 3.4
     23      os: linux
     24      compiler: gcc
     25      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
    926    - python: 2.7
    1027      os: linux
    1128      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
     29      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
    2130    - language: C
    2231      os: osx
     32      osx_image: xcode8
    2333      compiler: clang
    24       env: ARCH=x86_64
     34      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate"
    2535    - language: C
    2636      os: osx
     37      osx_image: xcode8
    2738      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
     39      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
    4540    - language: C
    4641      os: osx
     42      osx_image: xcode8
    4743      compiler: clang
    48       env: ARCH=x86_64 HAVE_DOUBLE=1
     44      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1
    4945    - language: C
    5046      os: osx
     47      osx_image: xcode8
    5148      compiler: clang
    52       env: ARCH=i386 HAVE_DOUBLE=1
     49      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1
    5350    - language: C
    5451      os: osx
     52      osx_image: xcode8.2
    5553      compiler: clang
    56       env: ARCH=x86_64 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
     54      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
    5755    - language: C
    5856      os: osx
     57      osx_image: xcode8.2
    5958      compiler: clang
    60       env: ARCH=i386 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
     59      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
     60    - language: C
     61      os: osx
     62      osx_image: xcode8.2
     63      compiler: clang
     64      env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
     65
     66# use trusty
     67dist: trusty
     68sudo: required
    6169
    6270addons:
     
    6472    packages:
    6573    - bzip2
     74    - libavcodec-dev
     75    - libavformat-dev
     76    - libavresample-dev
     77    - libavutil-dev
    6678    - libsndfile1-dev
    6779    - libsamplerate-dev
     
    7688     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    7789       brew update
    78        brew install sox libsamplerate libsndfile rubberband
     90       brew install sox
     91       brew install ffmpeg
     92       brew install libsndfile
     93       brew install libsamplerate
     94       brew install rubberband
    7995       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
    8096     fi;
    8197
    82 
    8398install:
    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
     99  - travis_retry pip install --upgrade pip
     100  - travis_retry make getwaf expandwaf deps_python
     101  - which pip
     102  - pip --version
    86103
    87104script:
    88105  - 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
     106  - |
     107    if [[ -z "$AUBIO_NOTESTS" ]]; then
     108      make test_lib_python_clean
     109      make test_python_only_clean
     110    else
     111      make test_lib_only_clean
     112    fi;
    97113
    98114notifications:
     
    101117            - "irc.freenode.org#aubio"
    102118        use_notice: true
     119    webhooks:
     120        urls:
     121            - https://webhooks.gitter.im/e/81e7733a5b1d977854b4
     122        on_success: change  # options: [always|never|change] default: always
     123        on_failure: always  # options: [always|never|change] default: always
     124        on_start: never     # options: [always|never|change] default: always
Note: See TracChangeset for help on using the changeset viewer.