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" |
---|
44 | - name: "iOS" |
---|
45 | language: shell |
---|
46 | os: osx |
---|
47 | env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate" 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" 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 | - sox |
---|
76 | - lcov |
---|
77 | homebrew: |
---|
78 | packages: |
---|
79 | - sox |
---|
80 | - ffmpeg |
---|
81 | - libsndfile |
---|
82 | - lcov |
---|
83 | update: true |
---|
84 | |
---|
85 | install: |
---|
86 | - make getwaf deps_python |
---|
87 | - which pip |
---|
88 | - pip --version |
---|
89 | - pip install coverage |
---|
90 | |
---|
91 | script: |
---|
92 | - make create_test_sounds |
---|
93 | - | |
---|
94 | if [[ -z "$AUBIO_NOTESTS" ]]; then |
---|
95 | make test_lib_python_clean |
---|
96 | make coverage |
---|
97 | else |
---|
98 | make test_lib_only_clean |
---|
99 | fi; |
---|
100 | |
---|
101 | after_success: |
---|
102 | - | |
---|
103 | if [[ -z "$AUBIO_NOTESTS" ]]; then |
---|
104 | # upload to codecov |
---|
105 | bash <(curl -s https://codecov.io/bash) |
---|
106 | fi |
---|
107 | |
---|
108 | notifications: |
---|
109 | irc: |
---|
110 | channels: |
---|
111 | - "irc.freenode.org#aubio" |
---|
112 | use_notice: true |
---|
113 | webhooks: |
---|
114 | urls: |
---|
115 | - https://webhooks.gitter.im/e/81e7733a5b1d977854b4 |
---|
116 | on_success: change # options: [always|never|change] default: always |
---|
117 | on_failure: always # options: [always|never|change] default: always |
---|
118 | on_start: never # options: [always|never|change] default: always |
---|