source: .travis.yml @ ced47c7

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchsampleryinfft+
Last change on this file since ced47c7 was ced47c7, checked in by Paul Brossier <piem@piem.org>, 3 years ago

.travis.yml: add dpkg-buildflags config

  • Property mode set to 100644
File size: 1.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    - language: C
15      os: osx
16      compiler: clang
17    - python: 3.5
18      os: linux
19      compiler: gcc
20      env: CFLAGS="-Os" WAFOPTS="--disable-samplerate --disable-sndfile"
21    - python: 3.4
22      os: linux
23      compiler: gcc
24      env: HAVE_AUBIO_DOUBLE=1 CFLAGS="-O3" WAFOPTS="--enable-fftw3"
25    - python: 2.7
26      os: linux
27      compiler: gcc
28      env: CFLAGS="`dpkg-buildflags --get CFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS`"
29    - language: C
30      os: osx
31      compiler: clang
32      env: CFLAGS="-Os" WAFOPTS="--disable-avcodec --disable-accelerate"
33    - language: C
34      os: osx
35      compiler: clang
36      env: WAFOPTS="--enable-fat --disable-avcodec" HAVE_AUBIO_DOUBLE=1
37    - language: C
38      os: osx
39      compiler: clang
40      env: WAFOPTS="--with-target-platform=ios --disable-avcodec" AUBIO_NOTESTS=1
41
42addons:
43  apt:
44    packages:
45    - bzip2
46    - libsndfile1-dev
47    - libsamplerate-dev
48    - libjack-dev
49    - libasound2-dev
50    - libfftw3-dev
51    - sox
52
53before_install:
54   - |
55     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
56       brew update
57       brew install sox
58       brew install ffmpeg
59       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
60     fi;
61
62install:
63  - travis_retry pip install --upgrade pip
64  - travis_retry make getwaf expandwaf deps_python
65  - which pip
66  - pip --version
67
68script:
69  - make create_test_sounds
70  - |
71    if [[ -z "$AUBIO_NOTESTS" ]]; then
72      make test_lib_python_clean
73      make test_python_only_clean
74    else
75      make test_lib_only_clean
76    fi;
77
78notifications:
79    irc:
80        channels:
81            - "irc.freenode.org#aubio"
82        use_notice: true
Note: See TracBrowser for help on using the repository browser.