• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1language: c
2
3git:
4    depth: 1
5
6matrix:
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
35
36addons:
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
50        update: true
51
52before_script:
53    - ./bootstrap.sh
54
55script:
56    - if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-netlink -- --disable-udev; fi
57    - if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-udev -- --enable-udev; fi
58    - if [ "$TRAVIS_OS_NAME" = "osx" ]; then .private/ci-build.sh --build-dir build; fi
59    - if [ "$TRAVIS_OS_NAME" = "osx" ]; then cd Xcode && xcodebuild -project libusb.xcodeproj; fi
60