summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSascha Cunz <Sascha@BabbelBox.org>2012-12-20 03:51:06 +0100
committerSascha Cunz <Sascha@BabbelBox.org>2012-12-20 03:51:06 +0100
commitcedc15af9959e4931ef39e24a6ca5e17b2688ee2 (patch)
tree2730307f05d6da85b27a0f4bdc662a6c85a8e1ac /.travis.yml
parent92c4d25820a55186f3834891673fb9d72715d978 (diff)
downloadlibgit2-cedc15af9959e4931ef39e24a6ca5e17b2688ee2.tar.gz
Mark travis build as failed if any test fails
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 4b379985b..8ce490356 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,10 +29,10 @@ script:
- cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
- cmake --build . --target install
+ - ctest -V .
# Run Tests
after_script:
- - ctest -V .
- if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -iall; else echo "Skipping valgrind"; fi
# Only watch the development branch