shithub: aubio

Download patch

ref: 1f8061c8a963d1386760b6fb689963f6b867b2e3
parent: ec6731cd2d856d9185a19c7ebc518c9f990452ea
author: Paul Brossier <piem@piem.org>
date: Thu Apr 21 20:30:22 EDT 2016

.travis.yml: fix architectures, add gcc on osx

--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@
     - python: 2.6
       os: linux
       compiler: gcc
-      env: ARCH=x86_64
+      env: ARCH=i386
     - python: 2.6
       os: linux
       compiler: clang
@@ -19,7 +19,7 @@
     - python: 2.6
       os: linux
       compiler: clang
-      env: ARCH=x86_64
+      env: ARCH=i386
     - python: 2.7
       os: linux
       compiler: gcc
@@ -27,7 +27,7 @@
     - python: 2.7
       os: linux
       compiler: gcc
-      env: ARCH=x86_64
+      env: ARCH=i386
     - python: 2.7
       os: linux
       compiler: clang
@@ -35,7 +35,7 @@
     - python: 2.7
       os: linux
       compiler: clang
-      env: ARCH=x86_64
+      env: ARCH=i386
     - python: 3.4
       os: linux
       compiler: gcc
@@ -43,7 +43,7 @@
     - python: 3.4
       os: linux
       compiler: clang
-      env: ARCH=x86_64
+      env: ARCH=i386
     - python: 3.4
       os: linux
       compiler: gcc
@@ -51,13 +51,23 @@
     - python: 3.4
       os: linux
       compiler: clang
+      env: ARCH=i386
+    - language: C
+      os: osx
+      compiler: clang
       env: ARCH=x86_64
-    - language: generic
+    - language: C
       os: osx
+      compiler: gcc
+      env: ARCH=x86_64
+    - language: C
+      os: osx
+      compiler: clang
       env: ARCH=i386
-    - language: generic
+    - language: C
       os: osx
-      env: ARCH=x86_64
+      compiler: gcc
+      env: ARCH=i386
 
 addons:
   apt:
@@ -73,6 +83,11 @@
     - python3-setuptools
     - python3-dev
     - python3-numpy
+
+before install:
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libsndfile libsamplerate; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip install setuptools numpy; fi
 
 script:
   - make build