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