Mark travis build as failed if any test fails

This commit is contained in:
Sascha Cunz 2012-12-20 03:51:06 +01:00
parent 92c4d25820
commit cedc15af99

View File

@ -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