Add more travis tests

Adds travis testing for 32bit builds as well as compile warnings
on 64 bit and 32 bit builds.
This commit is contained in:
Matt Stancliff 2015-01-26 09:46:58 -05:00
parent 2b2b512dca
commit d3fb491b85

View File

@ -4,10 +4,12 @@ compiler:
- clang - clang
env: env:
- PRE="" - CFLAGS="-Werror"
- PRE="valgrind --track-origins=yes --leak-check=full" - PRE="valgrind --track-origins=yes --leak-check=full"
- TARGET="32bit" CFLAGS="-Werror"
- TARGET="32bit" PRE="valgrind --track-origins=yes --leak-check=full"
install: install:
- sudo apt-get install libc6-dbg libc6-dev libc6-i686:i386 libc6-dev-i386 libc6-dbg:i386 valgrind -y - 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"