代码拉取完成,页面将自动刷新
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
- 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
- language: C
os: osx
compiler: clang
env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate"
- language: C
os: osx
compiler: clang
env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
- language: C
os: osx
compiler: clang
env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
- language: C
os: osx
compiler: clang
env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
# use trusty
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
- lcov
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew install sox
brew install ffmpeg
brew install libsndfile
brew install lcov
export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
fi;
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
alias pip=pip2
fi;
- travis_retry pip install --upgrade pip
- travis_retry make getwaf expandwaf deps_python
- which pip
- pip --version
- pip install python-coveralls
- gem install coveralls-lcov
script:
- make create_test_sounds
- |
if [[ -z "$AUBIO_NOTESTS" ]]; then
make test_lib_python_clean
make coverage
else
make test_lib_only_clean
fi;
after_success:
- |
if [[ -z "$AUBIO_NOTESTS" ]]; then
# upload lcov coverage to coveralls.io
coveralls-lcov build/coverage.info
# upload python coverage
#coveralls
# upload to codecov
bash <(curl -s https://codecov.io/bash)
fi
notifications:
irc:
channels:
- "irc.freenode.org#aubio"
use_notice: true
webhooks:
urls:
- https://webhooks.gitter.im/e/81e7733a5b1d977854b4
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。