Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    rdeedc49 rdae3292  
    1 language: c
     1language: python
    22
    3 sudo: false
     3matrix:
     4  include:
     5    - python: 3.5
     6      os: linux
     7      compiler: gcc
     8    - python: 3.4
     9      os: linux
     10      compiler: gcc
     11    - python: 2.7
     12      os: linux
     13      compiler: gcc
     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"
     26    - python: 2.7
     27      os: linux
     28      compiler: gcc
     29      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
     30    - language: C
     31      os: osx
     32      osx_image: xcode8
     33      compiler: clang
     34      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate"
     35    - language: C
     36      os: osx
     37      osx_image: xcode8
     38      compiler: clang
     39      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
     40    - language: C
     41      os: osx
     42      osx_image: xcode8
     43      compiler: clang
     44      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
     45    - language: C
     46      os: osx
     47      osx_image: xcode8
     48      compiler: clang
     49      env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
     50    - language: C
     51      os: osx
     52      osx_image: xcode8.2
     53      compiler: clang
     54      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
     55    - language: C
     56      os: osx
     57      osx_image: xcode8.2
     58      compiler: clang
     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
    465
    5 compiler:
    6   - gcc
    7   - clang
    8 
    9 env:
    10   - ARCH=i386
    11   - ARCH=x86_64
     66# use trusty
     67dist: trusty
     68sudo: required
    1269
    1370addons:
     
    1572    packages:
    1673    - bzip2
     74    - libavcodec-dev
     75    - libavformat-dev
     76    - libavresample-dev
     77    - libavutil-dev
    1778    - libsndfile1-dev
    1879    - libsamplerate-dev
     
    2081    - libasound2-dev
    2182    - libfftw3-dev
    22     - python-dev
    23     - python-numpy
     83    - sox
     84
     85before_install:
     86   - |
     87     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
     88       brew update
     89       brew install sox
     90       brew install ffmpeg
     91       brew install libsndfile
     92       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
     93     fi;
     94
     95install:
     96  - travis_retry pip install --upgrade pip
     97  - travis_retry make getwaf expandwaf deps_python
     98  - which pip
     99  - pip --version
    24100
    25101script:
    26   - make build
    27   - make build_python
    28   - make clean_python
    29   - make clean
    30   - make distcheck
     102  - make create_test_sounds
     103  - |
     104    if [[ -z "$AUBIO_NOTESTS" ]]; then
     105      make test_lib_python_clean
     106      make test_python_only_clean
     107    else
     108      make test_lib_only_clean
     109    fi;
     110
     111notifications:
     112    irc:
     113        channels:
     114            - "irc.freenode.org#aubio"
     115        use_notice: true
     116    webhooks:
     117        urls:
     118            - https://webhooks.gitter.im/e/81e7733a5b1d977854b4
     119        on_success: change  # options: [always|never|change] default: always
     120        on_failure: always  # options: [always|never|change] default: always
     121        on_start: never     # options: [always|never|change] default: always
Note: See TracChangeset for help on using the changeset viewer.