ref: 38b7a693c8ad066edc41ccd8dae114e1a11e5edc
parent: f61ffb9ebc0dac0796db8f479b81ce0b86df805f
author: Paul Brossier <piem@piem.org>
date: Sat Dec 10 20:46:55 EST 2016
.travis.yml: use AUBIO_NOTESTS to build only lib on ios
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,6 @@
- python: 2.7
os: linux
compiler: gcc
- env: WAFOPTS=--enable-fftw3
- language: C
os: osx
compiler: clang
@@ -18,11 +17,11 @@
- python: 3.5
os: linux
compiler: gcc
- env: HAVE_AUBIO_DOUBLE=1
- - python: 2.7
+ env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
+ - python: 3.4
os: linux
compiler: gcc
- env: HAVE_AUBIO_DOUBLE=1 WAFOPTS=--enable-fftw3
+ env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
- python: 2.7
os: linux
compiler: gcc
@@ -38,7 +37,7 @@
- language: C
os: osx
compiler: clang
- env: WAFOPTS="--enable-fat --disable-avcodec --with-target-platform=ios"
+ env: WAFOPTS="--with-target-platform=ios --disable-avcodec" AUBIO_NOTESTS=1
addons:
apt:
@@ -68,8 +67,12 @@
script:
- make create_test_sounds
- - make test_lib_python_clean
- - make test_python_only_clean
+ - if [[ -z "$AUBIO_NOTESTS" ]]; then
+ make test_lib_python_clean
+ make test_python_only_clean
+ else
+ make test_lib_only_clean
+ fi;
notifications:
irc: