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