blob: f8ef972a803c69e22faf601454c814659413af56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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
- os: osx
osx_image: xcode8
- os: osx
osx_image: xcode7.1
- os: osx
osx_image: beta-xcode6.2
addons:
apt:
packages:
- autoconf
- automake
- libtool
- m4
- libudev-dev
sources:
- ubuntu-toolchain-r-test
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew upgrade automake libtool; fi
script:
- ./autogen.sh && make -j4
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make -j4; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi
|