From 43a85be471d1931d500546dfc9b082ab7966c67d Mon Sep 17 00:00:00 2001 From: Niels Date: Tue, 6 Jan 2015 18:52:14 +0100 Subject: [PATCH] travis now checks with valgrind --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5f97b16c..20f123a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ before_install: - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi - sudo pip install cpp-coveralls pyyaml + - sudo apt-get install valgrind before_script: - autoreconf -iv @@ -17,6 +18,7 @@ before_script: script: - make - ./json_unit + - valgrind --error-exitcode=1 --leak-check=full --errors-for-leak-kinds=definite,possible ./json_unit after_success: - make clean