From 9f99c5de2e297a9aabc64b028069a4ca870db9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 12 Jul 2012 21:04:09 +0200 Subject: travis: make it run the tests under valgrind --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 2713651a8..c9d99d6f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ env: # Make sure CMake is installed install: - - sudo apt-get install cmake + - sudo apt-get install cmake valgrind # Run the Build script script: @@ -24,6 +24,7 @@ script: # Run Tests after_script: - ctest -V . + - if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes ./libgit2_clar; else echo "Skipping valgrind"; fi # Only watch the development branch branches: -- cgit v1.2.3