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