From ced8eff1e5d9e55b4fe3f903595d4edbfb0f3432 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Sun, 6 Jan 2013 17:21:37 +0100 Subject: [PATCH] travis: Only run Valgrind when all tests pass --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c1e349023..32b1446b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,8 +32,8 @@ script: - ctest -V . # Run Tests -after_script: - - if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -ionline; else echo "Skipping valgrind"; fi +after_success: + - valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -ionline # Only watch the development branch branches: