summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatt Stancliff <matt@genges.com>2015-01-26 09:46:58 -0500
committerMatt Stancliff <matt@genges.com>2015-01-26 10:08:40 -0500
commitd3fb491b85a88ac118b9514ef1ba1aeffe9c333c (patch)
treec6ea96fd2c7b3927a4a96d926ebf88f8eeb5bab7 /.travis.yml
parent2b2b512dca67d8db9bbad76a14bf7c7860a94166 (diff)
Add more travis tests
Adds travis testing for 32bit builds as well as compile warnings on 64 bit and 32 bit builds.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 882ded4..591cebd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,10 +4,12 @@ compiler:
- clang
env:
- - PRE=""
+ - CFLAGS="-Werror"
- PRE="valgrind --track-origins=yes --leak-check=full"
+ - TARGET="32bit" CFLAGS="-Werror"
+ - TARGET="32bit" PRE="valgrind --track-origins=yes --leak-check=full"
install:
- sudo apt-get install libc6-dbg libc6-dev libc6-i686:i386 libc6-dev-i386 libc6-dbg:i386 valgrind -y
-script: make && make check PRE="$PRE"
+script: make $TARGET CFLAGS="$CFLAGS" && make check PRE="$PRE"