forked from libusb/libusb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
58 lines (53 loc) · 1.37 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: c
git:
depth: 1
matrix:
include:
- os: linux
dist: focal
compiler: clang
- os: linux
dist: focal
compiler: gcc
- os: linux
dist: bionic
compiler: clang
- os: linux
dist: bionic
compiler: gcc
- os: linux
dist: xenial
compiler: clang
- os: linux
dist: xenial
compiler: gcc
- os: osx
osx_image: xcode12.2
compiler: clang
- os: osx
osx_image: xcode11.3
compiler: clang
- os: osx
osx_image: xcode9.4
compiler: clang
addons:
apt:
packages:
- autoconf
- automake
- libtool
- libudev-dev
- m4
homebrew:
packages:
- autoconf
- automake
- libtool
- m4
before_script:
- ./bootstrap.sh
script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-netlink -- --disable-udev; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then .private/ci-build.sh --build-dir build-udev -- --enable-udev; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then .private/ci-build.sh --build-dir build; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then cd Xcode && xcodebuild -project libusb.xcodeproj; fi