- python: 3.4
os: linux
compiler: gcc
- env: ARCH=x86_64 HAVE_DOUBLE=1
- - python: 3.4
+ env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
+ - python: 2.7
os: linux
compiler: gcc
- env: ARCH=i386 HAVE_DOUBLE=1
+ env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
- language: C
os: osx
+ osx_image: xcode8
compiler: clang
- env: ARCH=x86_64 HAVE_DOUBLE=1
+ env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate"
- language: C
os: osx
+ osx_image: xcode8
compiler: clang
- env: ARCH=i386 HAVE_DOUBLE=1
+ env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
- language: C
os: osx
+ osx_image: xcode8
compiler: clang
- env: ARCH=x86_64 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
- env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
++ env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1
- language: C
os: osx
+ osx_image: xcode8
compiler: clang
- env: ARCH=i386 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
- env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
++ env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1
+ - language: C
+ os: osx
+ osx_image: xcode8.2
+ compiler: clang
+ env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
+ - language: C
+ os: osx
+ osx_image: xcode8.2
+ compiler: clang
+ env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
+ - language: C
+ os: osx
+ osx_image: xcode8.2
+ compiler: clang
+ env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
+
+ # use trusty
+ dist: trusty
+ sudo: required
addons:
apt:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
- brew install sox libsamplerate libsndfile rubberband
+ brew install sox
+ brew install ffmpeg
+ brew install libsndfile
++ brew install libsamplerate
++ brew install rubberband
export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
fi;
print("Info: looking for *optional* additional packages")
packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample',
'jack',
- 'sndfile', 'samplerate',
- 'jack',
+ 'sndfile',
++ 'samplerate',
+ 'rubberband',
#'fftw3f',
]
+ # samplerate only works with float
+ if usedouble is False:
+ packages += ['samplerate']
+ else:
+ print("Info: not adding libsamplerate in double precision mode")
add_packages(packages, ext=ext)
if 'avcodec' in ext.libraries \
and 'avformat' in ext.libraries \