source: .travis.yml @ 89003a8

feature/cnnfeature/crepefix/ffmpeg5
Last change on this file since 89003a8 was 89003a8, checked in by Paul Brossier <piem@piem.org>, 5 years ago

[ci] set windows path on travis

  • Property mode set to 100644
File size: 2.9 KB
Line 
1language: python
2
3matrix:
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: xcode11
34    - name: "macOS (xcode10, noopt, nodeps)"
35      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --disable-avcodec --disable-sndfile --disable-samplerate"
36      os: osx
37      osx_image: xcode11
38    - name: "iOS"
39      language: shell
40      os: osx
41      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1
42    - name: "iOSSimulator"
43      language: shell
44      os: osx
45      env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate" AUBIO_NOTESTS=1
46
47    - name: "Python 3.8.0 on windows"
48      language: shell
49      os: windows
50      before_install:
51        - choco install python --version 3.8.0
52        - python -m pip install --upgrade pip
53      env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
54
55# use trusty
56dist: trusty
57sudo: required
58
59addons:
60  apt:
61    packages:
62    - bzip2
63    - libavcodec-dev
64    - libavformat-dev
65    - libavresample-dev
66    - libavutil-dev
67    - libsndfile1-dev
68    - libsamplerate-dev
69    - libjack-dev
70    - libasound2-dev
71    - libfftw3-dev
72    - sox
73    - lcov
74  homebrew:
75    packages:
76    - sox
77    - ffmpeg
78    - libsndfile
79    - lcov
80    update: true
81
82install:
83  - travis_retry make getwaf expandwaf deps_python
84  - which pip
85  - pip --version
86  - pip install coverage
87
88script:
89  - make create_test_sounds
90  - |
91    if [[ -z "$AUBIO_NOTESTS" ]]; then
92      make test_lib_python_clean
93      make coverage
94    else
95      make test_lib_only_clean
96    fi;
97
98after_success:
99  - |
100    if [[ -z "$AUBIO_NOTESTS" ]]; then
101      # upload to codecov
102      bash <(curl -s https://codecov.io/bash)
103    fi
104
105notifications:
106    irc:
107        channels:
108            - "irc.freenode.org#aubio"
109        use_notice: true
110    webhooks:
111        urls:
112            - https://webhooks.gitter.im/e/81e7733a5b1d977854b4
113        on_success: change  # options: [always|never|change] default: always
114        on_failure: always  # options: [always|never|change] default: always
115        on_start: never     # options: [always|never|change] default: always
Note: See TracBrowser for help on using the repository browser.