summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-07-12 21:04:09 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-07-12 21:26:21 +0200
commit9f99c5de2e297a9aabc64b028069a4ca870db9d2 (patch)
tree0f0441e8e16c9cf28aaa8bb0000fe8d0d2e3c23c /.travis.yml
parent465092ce3fd05a634cea1c0a81687d01390e6f00 (diff)
downloadlibgit2-9f99c5de2e297a9aabc64b028069a4ca870db9d2.tar.gz
travis: make it run the tests under valgrind
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 2713651a8..c9d99d6f7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,7 @@ env:
# Make sure CMake is installed
install:
- - sudo apt-get install cmake
+ - sudo apt-get install cmake valgrind
# Run the Build script
script:
@@ -24,6 +24,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
# Only watch the development branch
branches: