summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@me.com>2016-10-01 08:12:19 -0600
committerNathan Hjelm <hjelmn@me.com>2016-10-01 08:12:19 -0600
commit2da3345c7905575a0b8dc115030ab2b899feba12 (patch)
tree894d23dc682191ac6cebd2c350fdb0cb241b7e61 /.travis.yml
parent9a5a8136ae96c99d229756ba34458805a12d7846 (diff)
downloadlibusb-2da3345c7905575a0b8dc115030ab2b899feba12.tar.gz
fix travis matrix build
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml36
1 files changed, 25 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index f8ef972..eb08224 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,21 +1,33 @@
language: c
-compiler:
- - gcc
- - clang
-
matrix:
include:
- os: linux
- # Require trusty for now as it has a more recent version of autoconf
- dist: trusty
- sudo: required
+ dist: trusty
+ sudo: required
+ compiler: gcc
+ - os: linux
+ dist: trusty
+ sudo: required
+ compiler: clang
+ - os: osx
+ osx_image: xcode8
+ compiler: gcc
+ - os: osx
+ osx_image: xcode8
+ compiler: clang
+ - os: osx
+ osx_image: xcode7.1
+ compiler: gcc
- os: osx
- osx_image: xcode8
+ osx_image: xcode7.1
+ compiler: clang
- os: osx
- osx_image: xcode7.1
+ osx_image: beta-xcode6.2
+ compiler: gcc
- os: osx
- osx_image: beta-xcode6.2
+ osx_image: beta-xcode6.2
+ compiler: clang
addons:
apt:
@@ -29,7 +41,9 @@ addons:
- ubuntu-toolchain-r-test
before_install:
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew upgrade automake libtool; fi
+ # brew upgrade sets the return code to 1 if the latest version is already installed. the true command
+ # is used to reset the return code to 0.
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew upgrade automake libtool ; true; fi
script:
- ./autogen.sh && make -j4