core: re-add one more conditional
[platform/upstream/libusb.git] / .travis.yml
1 sudo: required
2 language: c
3
4 compiler:
5     - gcc
6     - clang
7
8 os:
9     - linux
10     - osx
11
12
13 addons:
14     apt:
15         packages:
16             - autoconf
17             - automake
18             - libtool
19             - m4
20             - libudev-dev
21         sources:
22             - ubuntu-toolchain-r-test
23
24 script:
25     - ./autogen.sh && make -j4
26     - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make -j4; fi
27     - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi