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