From: David Gibson Date: Mon, 16 Jan 2017 23:37:15 +0000 (+1100) Subject: .travis.yml: Add valgrind testing X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=0fd6bb104ac424b56326bd37de8b5057eb68243f .travis.yml: Add valgrind testing Currently, our Travis builds don't have valgrind installed, meaning that ccanlint's valgrind based tests will be skipped, which is unfortunate. This adds valgrind to some of the builds to give us better CI coverage. It's not added for Precise with gcc, because that causes failures which appear to be due to something in the builtins of that gcc version. Signed-off-by: David Gibson --- diff --git a/.travis.yml b/.travis.yml index 83866f96..af5aad54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,15 @@ matrix: - compiler: gcc env: CFLAGS="-std=gnu99" - compiler: clang + addons: + apt: + packages: + - valgrind - dist: trusty + addons: + apt: + packages: + - valgrind env: CFLAGS="-std=gnu99" compiler: gcc