From 46e7a3711a9d5ceda5ef8dfff75e8f2cc70704c2 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sat, 17 Sep 2016 10:00:01 +0200 Subject: [PATCH] added Travis CI file --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..aa32a46 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: c + +os: + - linux + - osx + +before_install: + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi + +install: + - wget "https://github.com/alfredh/pytools/raw/master/ccheck.py" + +script: + - make EXTRA_CFLAGS=-Werror + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python2 ccheck.py ; fi