1 | language: python |
---|
2 | |
---|
3 | matrix: |
---|
4 | include: |
---|
5 | - name: "Linux (Python 3.8)" |
---|
6 | python: 3.8 |
---|
7 | os: linux |
---|
8 | distro: bionic |
---|
9 | - name: "Linux (Python 3.6)" |
---|
10 | python: 3.6 |
---|
11 | os: linux |
---|
12 | env: WAFOPTS="--build-type=debug" |
---|
13 | - name: "Linux (Python 2.7)" |
---|
14 | python: 2.7 |
---|
15 | os: linux |
---|
16 | distro: trusty |
---|
17 | - name: "Linux (Python pypy3.5)" |
---|
18 | language: python |
---|
19 | python: "pypy3.5" |
---|
20 | os: linux |
---|
21 | - name: "Linux (fftw3, no other deps)" |
---|
22 | python: 3.8 |
---|
23 | os: linux |
---|
24 | env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3 --disable-avcodec --disable-samplerate" |
---|
25 | - name: "Linux (default, dpkg-buildflags)" |
---|
26 | os: linux |
---|
27 | env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`" |
---|
28 | |
---|
29 | - name: "macOS (xcode11)" |
---|
30 | language: shell |
---|
31 | os: osx |
---|
32 | osx_image: xcode11 |
---|
33 | - name: "macOS (xcode12, lib only)" |
---|
34 | language: shell |
---|
35 | os: osx |
---|
36 | osx_image: xcode12 |
---|
37 | script: |
---|
38 | - make test_lib_only_clean |
---|
39 | - name: "macOS (xcode10, noopt, nodeps)" |
---|
40 | language: shell |
---|
41 | os: osx |
---|
42 | osx_image: xcode10 |
---|
43 | env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" |
---|
44 | - name: "iOS" |
---|
45 | language: shell |
---|
46 | os: osx |
---|
47 | env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 |
---|
48 | - name: "iOSSimulator" |
---|
49 | language: shell |
---|
50 | os: osx |
---|
51 | env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 |
---|
52 | |
---|
53 | # - name: "Windows (Python 3.8.0, lib only)" |
---|
54 | # language: shell |
---|
55 | # os: windows |
---|
56 | # before_install: |
---|
57 | # - choco install python --version 3.8.0 |
---|
58 | # - choco install make |
---|
59 | # - python -m pip install --upgrade pip |
---|
60 | # env: PATH=/c/Python38:/c/Python38/Scripts:$PATH AUBIO_NOTESTS=1 |
---|
61 | |
---|
62 | addons: |
---|
63 | apt: |
---|
64 | packages: |
---|
65 | - bzip2 |
---|
66 | - libavcodec-dev |
---|
67 | - libavformat-dev |
---|
68 | - libavresample-dev |
---|
69 | - libavutil-dev |
---|
70 | - libsndfile1-dev |
---|
71 | - libsamplerate-dev |
---|
72 | - libjack-dev |
---|
73 | - libasound2-dev |
---|
74 | - libfftw3-dev |
---|
75 | - librubberband-dev |
---|
76 | - sox |
---|
77 | - lcov |
---|
78 | homebrew: |
---|
79 | packages: |
---|
80 | - sox |
---|
81 | - ffmpeg |
---|
82 | - libsndfile |
---|
83 | - libsamplerate |
---|
84 | - rubberband |
---|
85 | - lcov |
---|
86 | update: true |
---|
87 | |
---|
88 | install: |
---|
89 | - make getwaf deps_python |
---|
90 | - which pip |
---|
91 | - pip --version |
---|
92 | - pip install coverage |
---|
93 | |
---|
94 | script: |
---|
95 | - make create_test_sounds |
---|
96 | - | |
---|
97 | if [[ -z "$AUBIO_NOTESTS" ]]; then |
---|
98 | make test_lib_python_clean |
---|
99 | make coverage |
---|
100 | else |
---|
101 | make test_lib_only_clean |
---|
102 | fi; |
---|
103 | |
---|
104 | after_success: |
---|
105 | - | |
---|
106 | if [[ -z "$AUBIO_NOTESTS" ]]; then |
---|
107 | # upload to codecov |
---|
108 | bash <(curl -s https://codecov.io/bash) |
---|
109 | fi |
---|
110 | |
---|
111 | notifications: |
---|
112 | irc: |
---|
113 | channels: |
---|
114 | - "irc.freenode.org#aubio" |
---|
115 | use_notice: true |
---|
116 | webhooks: |
---|
117 | urls: |
---|
118 | - https://webhooks.gitter.im/e/81e7733a5b1d977854b4 |
---|
119 | on_success: change # options: [always|never|change] default: always |
---|
120 | on_failure: always # options: [always|never|change] default: always |
---|
121 | on_start: never # options: [always|never|change] default: always |
---|