Add Travis CI configuration file

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
This commit is contained in:
Bernhard Nortmann 2016-04-12 10:55:58 +02:00
parent b59f4584f5
commit 6ade0af8d4

26
.travis.yml Normal file
View 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