mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 14:12:22 +00:00
travis: Only run Valgrind when all tests pass
This commit is contained in:
parent
5df7ad3ece
commit
ced8eff1e5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user