source: .travis.yml @ 98cfdea

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

[ci] remove windows py27 travis configuration, use AUBIO_NOTESTS=1 on win too

  • 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)"
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
62addons:
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
85install:
86  - make getwaf deps_python
87  - which pip
88  - pip --version
89  - pip install coverage
90
91script:
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
101after_success:
102  - |
103    if [[ -z "$AUBIO_NOTESTS" ]]; then
104      # upload to codecov
105      bash <(curl -s https://codecov.io/bash)
106    fi
107
108notifications:
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
Note: See TracBrowser for help on using the repository browser.