From 7d4055b6b6001edda940651849fb592984d87d37 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 24 Apr 2017 23:34:46 +0200 Subject: Add Travis configuration --- .travis.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..e7ef7b1b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +language: c +compiler: + - clang + - gcc +os: + - linux + - osx +env: + - FLAGS="" + - FLAGS="--debug" + - FLAGS=" --no-posix" + - FLAGS="--debug --no-posix" + - FLAGS=" --static --static-progs --no-shared" + - FLAGS="--debug --static --static-progs --no-shared" + - FLAGS=" --no-posix --static --static-progs --no-shared" + - FLAGS="--debug --no-posix --static --static-progs --no-shared" +matrix: + exclude: + - os: osx + env: FLAGS=" --static --static-progs --no-shared" + - os: osx + env: FLAGS="--debug --static --static-progs --no-shared" + - os: osx + env: FLAGS=" --no-posix --static --static-progs --no-shared" + - os: osx + env: FLAGS="--debug --no-posix --static --static-progs --no-shared" + - os: osx + compiler: gcc +script: + - ./waf configure --test --no-coverage --strict $FLAGS + - ./waf build + - ./waf test -- cgit v1.2.1