summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-01-06 09:12:02 -0800
committerVicent Martí <vicent@github.com>2013-01-06 09:12:02 -0800
commit8b107c6770516db9527f565af0298b9c1f738e58 (patch)
tree33238e34070158c4453fc30f5edb21ab5c63dcf1
parent5df7ad3ece4feab4110a0f9371c5f63188c78470 (diff)
parentced8eff1e5d9e55b4fe3f903595d4edbfb0f3432 (diff)
downloadlibgit2-8b107c6770516db9527f565af0298b9c1f738e58.tar.gz
Merge pull request #1198 from nulltoken/travis/run-valgrind-on-success
travis: Only run Valgrind when all tests pass
-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: