aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml32
1 files changed, 32 insertions, 0 deletions
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