summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-09-04 15:54:33 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-09-04 16:00:49 +0200
commit064ee42d99f1c457fcf728df728c0fb7ea65bc07 (patch)
tree63bcfaa75a280f9243574ce4db2ac9a814406651 /.travis.yml
parent925be045d5c227dc595e9379f49a3f97b0aaeadd (diff)
downloadlibgit2-064ee42d99f1c457fcf728df728c0fb7ea65bc07.tar.gz
travis: use a valgrind suppressions file
We don't care about the supposed zlib errors, and the leak from giterr_set isn't interesting, as it gets freed each time an error is set. Give valgrind a suppressions file so it doesn't tell us about them.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 29ef9d40d..54da48a40 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,7 +32,7 @@ script:
# Run Tests
after_script:
- ctest -V .
- - if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes ./libgit2_clar; else echo "Skipping valgrind"; fi
+ - if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar; else echo "Skipping valgrind"; fi
# Only watch the development branch
branches: