From d3fb491b85a88ac118b9514ef1ba1aeffe9c333c Mon Sep 17 00:00:00 2001 From: Matt Stancliff Date: Mon, 26 Jan 2015 09:46:58 -0500 Subject: [PATCH] Add more travis tests Adds travis testing for 32bit builds as well as compile warnings on 64 bit and 32 bit builds. --- .travis.yml | 6 ++++-- 1 file 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"