shithub: aubio

ref: ec45138affa73c6dbdc88a914b2388b66eee086d
dir: /.travis.yml/

View raw version
language: python

matrix:
  include:
    - python: 3.5
      os: linux
      compiler: gcc
    - python: 3.4
      os: linux
      compiler: gcc
    - python: 2.7
      os: linux
      compiler: gcc
    - language: C
      os: osx
      compiler: clang
    - python: 3.5
      os: linux
      compiler: gcc
      env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
    - python: 3.4
      os: linux
      compiler: gcc
      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
    - python: 2.7
      os: linux
      compiler: gcc
      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
    - language: C
      os: osx
      compiler: clang
      env: CFLAGS="-O0" WAFOPTS="--disable-avcodec --disable-accelerate"
    - language: C
      os: osx
      compiler: clang
      env: WAFOPTS="--enable-fat --disable-avcodec" HAVE_AUBIO_DOUBLE=1
    - language: C
      os: osx
      compiler: clang
      env: WAFOPTS="--with-target-platform=ios --disable-avcodec" AUBIO_NOTESTS=1

dist: trusty
sudo: required

addons:
  apt:
    packages:
    - bzip2
    - libavcodec-dev
    - libavformat-dev
    - libavresample-dev
    - libavutil-dev
    - libsndfile1-dev
    - libsamplerate-dev
    - libjack-dev
    - libasound2-dev
    - libfftw3-dev
    - sox

before_install:
   - |
     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
       brew update
       brew install sox
       brew install ffmpeg
       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
     fi;

install:
  - travis_retry pip install --upgrade pip
  - travis_retry make getwaf expandwaf deps_python
  - which pip
  - pip --version

script:
  - make create_test_sounds
  - |
    if [[ -z "$AUBIO_NOTESTS" ]]; then
      make test_lib_python_clean
      make test_python_only_clean
    else
      make test_lib_only_clean
    fi;

notifications:
    irc:
        channels:
            - "irc.freenode.org#aubio"
        use_notice: true