From 6ade0af8d42ac557635c63ea12da1f1b291dc141 Mon Sep 17 00:00:00 2001 From: Bernhard Nortmann Date: Tue, 12 Apr 2016 10:55:58 +0200 Subject: [PATCH] Add Travis CI configuration file Signed-off-by: Bernhard Nortmann --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..d276863 --- /dev/null +++ b/.travis.yml @@ -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