source: .travis.yml @ d27bb35

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

[ci] install vcpython27 instead of py27 on windows travis

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