Add Travis CI configuration file
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
This commit is contained in:
parent
b59f4584f5
commit
6ade0af8d4
26
.travis.yml
Normal file
26
.travis.yml
Normal file
@ -0,0 +1,26 @@
|
||||
# use container-based infrastructure
|
||||
sudo: false
|
||||
|
||||
language: c
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
# take care of the libusb dependency for Linux
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libusb-1.0-0-dev
|
||||
|
||||
# take care of the libusb dependency for Mac OS X
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
brew update;
|
||||
brew install libusb;
|
||||
fi
|
||||
|
||||
# build by simply using the Makefile
|
||||
script:
|
||||
- make
|
||||
- make misc
|
||||
Loading…
x
Reference in New Issue
Block a user