source: .travis.yml @ cf4bc9f

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

Merge branch 'feature/sink_vorbis' into feature/sink_flac

  • Property mode set to 100644
File size: 2.8 KB
Line 
1language: python
2
3matrix:
4  include:
5    - python: 3.5
6      os: linux
7      compiler: gcc
8    - python: 3.4
9      os: linux
10      compiler: gcc
11    - python: 2.7
12      os: linux
13      compiler: gcc
14    - python: "pypy"
15      os: linux
16      compiler: gcc
17      env: CFLAGS="-Os" WAFOPTS="--disable-avcodec"
18    - python: 3.5
19      os: linux
20      compiler: gcc
21      env: CFLAGS="-Os" WAFOPTS="--disable-samplerate"
22    - python: 3.4
23      os: linux
24      compiler: gcc
25      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
26    - python: 2.7
27      os: linux
28      compiler: gcc
29      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
30    - language: C
31      os: osx
32      compiler: clang
33    - language: C
34      os: osx
35      compiler: clang
36      env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate"
37    - language: C
38      os: osx
39      compiler: clang
40      env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile"
41    - language: C
42      os: osx
43      compiler: clang
44      env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
45    - language: C
46      os: osx
47      compiler: clang
48      env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile" AUBIO_NOTESTS=1
49
50# use trusty
51dist: trusty
52sudo: required
53
54addons:
55  apt:
56    packages:
57    - bzip2
58    - libavcodec-dev
59    - libavformat-dev
60    - libavresample-dev
61    - libavutil-dev
62    - libsndfile1-dev
63    - libsamplerate-dev
64    - libvorbis-dev
65    - libflac-dec
66    - libjack-dev
67    - libasound2-dev
68    - libfftw3-dev
69    - sox
70    - lcov
71  homebrew:
72    packages:
73    - sox
74    - ffmpeg
75    - libsndfile
76    - libvorbis
77    - flac
78    - lcov
79    #update: true
80
81before_install:
82   - |
83     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
84       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
85     fi;
86
87install:
88  - |
89    if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
90      alias pip=pip2
91    fi;
92  - travis_retry pip install --upgrade pip
93  - travis_retry make getwaf expandwaf deps_python
94  - which pip
95  - pip --version
96  - pip install coverage
97
98script:
99  - make create_test_sounds
100  - |
101    if [[ -z "$AUBIO_NOTESTS" ]]; then
102      make test_lib_python_clean
103      make coverage
104    else
105      make test_lib_only_clean
106    fi;
107
108after_success:
109  - |
110    if [[ -z "$AUBIO_NOTESTS" ]]; then
111      # upload to codecov
112      bash <(curl -s https://codecov.io/bash)
113    fi
114
115notifications:
116    irc:
117        channels:
118            - "irc.freenode.org#aubio"
119        use_notice: true
120    webhooks:
121        urls:
122            - https://webhooks.gitter.im/e/81e7733a5b1d977854b4
123        on_success: change  # options: [always|never|change] default: always
124        on_failure: always  # options: [always|never|change] default: always
125        on_start: never     # options: [always|never|change] default: always
Note: See TracBrowser for help on using the repository browser.