blob: d4469b88bef9029027a9d76656852f34d3dab7a1 [file] [log] [blame]
# Require trusty for now as it has a more recent version of autoconf
sudo: required
dist: trusty
language: c
compiler:
- gcc
- clang
os:
- linux
- osx
addons:
apt:
packages:
- autoconf
- automake
- libtool
- m4
- libudev-dev
sources:
- ubuntu-toolchain-r-test
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