2013-01-26 19:28:19 +00:00
|
|
|
language: c
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
2015-01-22 20:31:43 +00:00
|
|
|
env:
|
2015-01-26 14:46:58 +00:00
|
|
|
- CFLAGS="-Werror"
|
2015-01-22 20:31:43 +00:00
|
|
|
- PRE="valgrind --track-origins=yes --leak-check=full"
|
2015-04-29 12:37:29 +00:00
|
|
|
- TARGET="32bit" TARGET_VARS="32bit-vars" CFLAGS="-Werror"
|
|
|
|
- TARGET="32bit" TARGET_VARS="32bit-vars" PRE="valgrind --track-origins=yes --leak-check=full"
|
2015-01-22 20:31:43 +00:00
|
|
|
|
|
|
|
install:
|
2015-03-18 09:39:45 +00:00
|
|
|
- sudo apt-get update -qq
|
2015-01-22 20:31:43 +00:00
|
|
|
- sudo apt-get install libc6-dbg libc6-dev libc6-i686:i386 libc6-dev-i386 libc6-dbg:i386 valgrind -y
|
|
|
|
|
2015-04-29 12:37:29 +00:00
|
|
|
script: make $TARGET CFLAGS="$CFLAGS" && make check PRE="$PRE" && make $TARGET_VARS hiredis-example
|