source:
.travis.yml
@
49b19d4
Last change on this file since 49b19d4 was d4a1d0f, checked in by , 7 years ago | |
---|---|
|
|
File size: 2.9 KB |
Rev | Line | |
---|---|---|
[d13f0bb] | 1 | language: python |
[bf45eb5] | 2 | |
[ec6731c] | 3 | matrix: |
4 | include: | |
[5f9729d] | 5 | - python: 3.5 |
[ec6731c] | 6 | os: linux |
7 | compiler: gcc | |
8 | - python: 3.4 | |
9 | os: linux | |
10 | compiler: gcc | |
[95e0336] | 11 | - python: 2.7 |
12 | os: linux | |
13 | compiler: gcc | |
[5f9729d] | 14 | - python: 3.5 |
[95e0336] | 15 | os: linux |
16 | compiler: gcc | |
[38b7a69] | 17 | env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile" |
18 | - python: 3.4 | |
[95e0336] | 19 | os: linux |
20 | compiler: gcc | |
[38b7a69] | 21 | env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3" |
[5f9729d] | 22 | - python: 2.7 |
[95e0336] | 23 | os: linux |
24 | compiler: gcc | |
[ced47c7] | 25 | env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`" |
[95e0336] | 26 | - language: C |
27 | os: osx | |
[55d5612] | 28 | compiler: clang |
29 | - language: C | |
30 | os: osx | |
31 | compiler: clang | |
[d4a1d0f] | 32 | env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate" |
[875d9d1] | 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 | |
[b8454c74] | 45 | |
[51d0a3c] | 46 | # use trusty |
[75023b6] | 47 | dist: trusty |
[22b0807] | 48 | sudo: required |
[75023b6] | 49 | |
[082a1cf] | 50 | addons: |
51 | apt: | |
52 | packages: | |
53 | - bzip2 | |
[75023b6] | 54 | - libavcodec-dev |
55 | - libavformat-dev | |
56 | - libavresample-dev | |
57 | - libavutil-dev | |
[082a1cf] | 58 | - libsndfile1-dev |
59 | - libsamplerate-dev | |
60 | - libjack-dev | |
61 | - libasound2-dev | |
62 | - libfftw3-dev | |
[05c54ff] | 63 | - sox |
[39b686c] | 64 | - lcov |
[05c54ff] | 65 | |
[fe5ff6d] | 66 | before_install: |
[e6c83dc] | 67 | - | |
68 | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | |
69 | brew update | |
70 | brew install sox | |
[f4a5d37] | 71 | brew install ffmpeg |
[875d9d1] | 72 | brew install libsndfile |
[6409cba] | 73 | brew install lcov |
[e6c83dc] | 74 | export PATH="$HOME/Library/Python/2.7/bin/:$PATH" |
75 | fi; | |
76 | ||
[323d330] | 77 | install: |
[d4a1d0f] | 78 | - | |
79 | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then | |
80 | alias pip=pip2 | |
81 | fi; | |
[7a1bbbd] | 82 | - travis_retry pip install --upgrade pip |
83 | - travis_retry make getwaf expandwaf deps_python | |
[e12d05f] | 84 | - which pip |
85 | - pip --version | |
[c918a4d] | 86 | - pip install python-coveralls |
[39b686c] | 87 | - gem install coveralls-lcov |
[323d330] | 88 | |
[bf45eb5] | 89 | script: |
[797435f] | 90 | - make create_test_sounds |
[5b52a54] | 91 | - | |
92 | if [[ -z "$AUBIO_NOTESTS" ]]; then | |
[38b7a69] | 93 | make test_lib_python_clean |
[39b686c] | 94 | make coverage |
[38b7a69] | 95 | else |
96 | make test_lib_only_clean | |
97 | fi; | |
[2d0e3fc] | 98 | |
[c918a4d] | 99 | after_success: |
[644c03a] | 100 | - | |
101 | if [[ -z "$AUBIO_NOTESTS" ]]; then | |
[89bc6f4] | 102 | # upload lcov coverage to coveralls.io |
[39b686c] | 103 | coveralls-lcov build/coverage.info |
104 | # upload python coverage | |
[1ae5fc5] | 105 | #coveralls |
[89bc6f4] | 106 | # upload to codecov |
107 | bash <(curl -s https://codecov.io/bash) | |
[644c03a] | 108 | fi |
[c918a4d] | 109 | |
[2d0e3fc] | 110 | notifications: |
111 | irc: | |
112 | channels: | |
113 | - "irc.freenode.org#aubio" | |
114 | use_notice: true | |
[dae3292] | 115 | webhooks: |
116 | urls: | |
117 | - https://webhooks.gitter.im/e/81e7733a5b1d977854b4 | |
118 | on_success: change # options: [always|never|change] default: always | |
119 | on_failure: always # options: [always|never|change] default: always | |
120 | on_start: never # options: [always|never|change] default: always |
Note: See TracBrowser
for help on using the repository browser.