Commit 8b107c67 by Vicent Martí

Merge pull request #1198 from nulltoken/travis/run-valgrind-on-success

travis: Only run Valgrind when all tests pass
parents 5df7ad3e ced8eff1
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment