From cedc15af9959e4931ef39e24a6ca5e17b2688ee2 Mon Sep 17 00:00:00 2001 From: Sascha Cunz Date: Thu, 20 Dec 2012 03:51:06 +0100 Subject: [PATCH] Mark travis build as failed if any test fails --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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