Enable linux netlink event monitoring for Android OS platform services
[libusb.git] / .travis.yml
blobe92f0c451a7ad5cc4bddbbec1371257bed4cc680
1 language: c
3 git:
4     depth: 1
6 matrix:
7     include:
8         - os: linux
9           dist: focal
10           compiler: clang
11         - os: linux
12           dist: focal
13           compiler: gcc
14         - os: linux
15           dist: bionic
16           compiler: clang
17         - os: linux
18           dist: bionic
19           compiler: gcc
20         - os: linux
21           dist: xenial
22           compiler: clang
23         - os: linux
24           dist: xenial
25           compiler: gcc
26         - os: osx
27           osx_image: xcode12.2
28           compiler: clang
29         - os: osx
30           osx_image: xcode11.3
31           compiler: clang
32         - os: osx
33           osx_image: xcode9.4
34           compiler: clang
36 addons:
37     apt:
38         packages:
39             - autoconf
40             - automake
41             - libtool
42             - libudev-dev
43             - m4
44     homebrew:
45         packages:
46             - autoconf
47             - automake
48             - libtool
49             - m4
51 before_script:
52     - ./bootstrap.sh
54 script:
55     - if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-netlink -- --disable-udev; fi
56     - if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-udev -- --enable-udev; fi
57     - if [ "$TRAVIS_OS_NAME" = "osx" ]; then .private/ci-build.sh --build-dir build; fi
58     - if [ "$TRAVIS_OS_NAME" = "osx" ]; then cd Xcode && xcodebuild -project libusb.xcodeproj; fi