mirror of
https://github.com/RPCS3/libusb.git
synced 2026-01-31 01:25:19 +01:00
The goal is not to be fast but to get a clean log with not mixed messages between 2 compilations executed at the same time.
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
language: c
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
compiler: gcc
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
compiler: clang
|
|
- os: osx
|
|
osx_image: xcode8
|
|
compiler: gcc
|
|
- os: osx
|
|
osx_image: xcode8
|
|
compiler: clang
|
|
- os: osx
|
|
osx_image: xcode7.1
|
|
compiler: gcc
|
|
- os: osx
|
|
osx_image: xcode7.1
|
|
compiler: clang
|
|
- os: osx
|
|
osx_image: beta-xcode6.2
|
|
compiler: gcc
|
|
- os: osx
|
|
osx_image: beta-xcode6.2
|
|
compiler: clang
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- autoconf
|
|
- automake
|
|
- libtool
|
|
- m4
|
|
- libudev-dev
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
|
|
before_install:
|
|
# brew upgrade sets the return code to 1 if the latest version is already installed. the true command
|
|
# is used to reset the return code to 0.
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew upgrade automake libtool ; true; fi
|
|
|
|
script:
|
|
- ./autogen.sh && make clean && make
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./travis-autogen.sh --disable-udev && make clean && make ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd Xcode && xcodebuild -project libusb.xcodeproj ; fi
|