From 0fd6bb104ac424b56326bd37de8b5057eb68243f Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 17 Jan 2017 10:37:15 +1100 Subject: [PATCH] .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 --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.2