on to 1.0.21-rc2
[platform/upstream/libusb.git] / .travis.yml
1 # Require trusty for now as it has a more recent version of autoconf
2 sudo: required
3 dist: trusty
4 language: c
5
6 compiler:
7     - gcc
8     - clang
9
10 os:
11     - linux
12     - osx
13
14
15 addons:
16     apt:
17         packages:
18             - autoconf
19             - automake
20             - libtool
21             - m4
22             - libudev-dev
23         sources:
24             - ubuntu-toolchain-r-test
25
26 script:
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