summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml44
1 files changed, 22 insertions, 22 deletions
diff --git a/.travis.yml b/.travis.yml
index 0111925..47ce5aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,53 +1,53 @@
language: c
+git:
+ depth: 1
+
matrix:
include:
- os: linux
dist: bionic
- compiler: gcc
- - os: linux
- dist: bionic
compiler: clang
- os: linux
- dist: xenial
+ dist: bionic
compiler: gcc
- os: linux
dist: xenial
compiler: clang
- - os: osx
- osx_image: xcode11.3
+ - os: linux
+ dist: xenial
compiler: gcc
- os: osx
osx_image: xcode11.3
compiler: clang
- os: osx
osx_image: xcode9.4
- compiler: gcc
- - os: osx
- osx_image: xcode9.4
compiler: clang
- os: osx
- osx_image: xcode6.4
- compiler: gcc
- - os: osx
- osx_image: xcode6.4
+ osx_image: xcode7.3
compiler: clang
addons:
- homebrew:
- update: true
- brewfile: true
apt:
packages:
- autoconf
- automake
- libtool
- - m4
- libudev-dev
- sources:
- - ubuntu-toolchain-r-test
+ - m4
+ homebrew:
+ packages:
+ - autoconf
+ - automake
+ - libtool
+ - m4
+ update: true
+
+before_script:
+ - ./bootstrap.sh
script:
- - ./travis-autogen.sh && make -j4
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make clean && ./travis-autogen.sh --disable-udev && make -j4 ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi
+ - 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