source: .travis.yml @ 08db885

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretch
Last change on this file since 08db885 was 08db885, checked in by Paul Brossier <piem@piem.org>, 13 months ago

[ci] remove coveralls from travis, using codecov

  • Property mode set to 100644
File size: 2.7 KB
Line 
1language: python
2
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    - python: 3.5
15      os: linux
16      compiler: gcc
17      env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
18    - python: 3.4
19      os: linux
20      compiler: gcc
21      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
22    - python: 2.7
23      os: linux
24      compiler: gcc
25      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
26    - language: C
27      os: osx
28      compiler: clang
29    - language: C
30      os: osx
31      compiler: clang
32      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate"
33    - language: C
34      os: osx
35      compiler: clang
36      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
37    - language: C
38      os: osx
39      compiler: clang
40      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
41    - language: C
42      os: osx
43      compiler: clang
44      env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
45
46# use trusty
47dist: trusty
48sudo: required
49
50addons:
51  apt:
52    packages:
53    - bzip2
54    - libavcodec-dev
55    - libavformat-dev
56    - libavresample-dev
57    - libavutil-dev
58    - libsndfile1-dev
59    - libsamplerate-dev
60    - libjack-dev
61    - libasound2-dev
62    - libfftw3-dev
63    - sox
64    - lcov
65
66before_install:
67   - |
68     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
69       brew update
70       brew install sox
71       brew install ffmpeg
72       brew install libsndfile
73       brew install lcov
74       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
75     fi;
76
77install:
78  - |
79    if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
80      alias pip=pip2
81    fi;
82  - travis_retry pip install --upgrade pip
83  - travis_retry make getwaf expandwaf deps_python
84  - which pip
85  - pip --version
86
87script:
88  - make create_test_sounds
89  - |
90    if [[ -z "$AUBIO_NOTESTS" ]]; then
91      make test_lib_python_clean
92      make coverage
93    else
94      make test_lib_only_clean
95    fi;
96
97after_success:
98  - |
99    if [[ -z "$AUBIO_NOTESTS" ]]; then
100      # upload to codecov
101      bash <(curl -s https://codecov.io/bash)
102    fi
103
104notifications:
105    irc:
106        channels:
107            - "irc.freenode.org#aubio"
108        use_notice: true
109    webhooks:
110        urls:
111            - https://webhooks.gitter.im/e/81e7733a5b1d977854b4
112        on_success: change  # options: [always|never|change] default: always
113        on_failure: always  # options: [always|never|change] default: always
114        on_start: never     # options: [always|never|change] default: always
Note: See TracBrowser for help on using the repository browser.