1# Require trusty for now as it has a more recent version of autoconf 2sudo: required 3dist: trusty 4language: c 5 6compiler: 7 - gcc 8 - clang 9 10os: 11 - linux 12 - osx 13 14 15addons: 16 apt: 17 packages: 18 - autoconf 19 - automake 20 - libtool 21 - m4 22 - libudev-dev 23 sources: 24 - ubuntu-toolchain-r-test 25 26script: 27 - ./autogen.sh && make -j4 28 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make -j4; fi 29 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi 30