source: .travis.yml @ 72d4e42

feature/crepe
Last change on this file since 72d4e42 was 05ed7f5, checked in by Paul Brossier <piem@piem.org>, 4 years ago

Merge branch 'feature/timestretch'

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