source: .travis.yml @ 51d0a3c

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
Last change on this file since 51d0a3c was 51d0a3c, checked in by Paul Brossier <piem@piem.org>, 7 years ago

.travis.yml: bump to xcode8

  • Property mode set to 100644
File size: 2.0 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="-O0" 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
42# use trusty
43dist: trusty
44sudo: required
45
46# use xcode8
47osx_image: xcode8
48
49addons:
50  apt:
51    packages:
52    - bzip2
53    - libavcodec-dev
54    - libavformat-dev
55    - libavresample-dev
56    - libavutil-dev
57    - libsndfile1-dev
58    - libsamplerate-dev
59    - libjack-dev
60    - libasound2-dev
61    - libfftw3-dev
62    - sox
63
64before_install:
65   - |
66     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
67       brew update
68       brew install sox
69       brew install ffmpeg
70       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
71     fi;
72
73install:
74  - travis_retry pip install --upgrade pip
75  - travis_retry make getwaf expandwaf deps_python
76  - which pip
77  - pip --version
78
79script:
80  - make create_test_sounds
81  - |
82    if [[ -z "$AUBIO_NOTESTS" ]]; then
83      make test_lib_python_clean
84      make test_python_only_clean
85    else
86      make test_lib_only_clean
87    fi;
88
89notifications:
90    irc:
91        channels:
92            - "irc.freenode.org#aubio"
93        use_notice: true
Note: See TracBrowser for help on using the repository browser.