Mark travis build as failed if any test fails
diff --git a/.travis.yml b/.travis.yml
index 4b37998..8ce4903 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