summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-01-06 17:21:37 +0100
committernulltoken <emeric.fermas@gmail.com>2013-01-06 17:37:38 +0100
commitced8eff1e5d9e55b4fe3f903595d4edbfb0f3432 (patch)
tree33238e34070158c4453fc30f5edb21ab5c63dcf1 /.travis.yml
parent5df7ad3ece4feab4110a0f9371c5f63188c78470 (diff)
downloadlibgit2-ced8eff1e5d9e55b4fe3f903595d4edbfb0f3432.tar.gz
travis: Only run Valgrind when all tests pass
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files 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: