Commit 4c10d1af by Vicent Martí

Merge pull request #1166 from scunz/antibiotica_for_travis

Mark travis build as failed if any test fails
parents 92c4d258 cedc15af
...@@ -29,10 +29,10 @@ script: ...@@ -29,10 +29,10 @@ script:
- cd _build - cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
- cmake --build . --target install - cmake --build . --target install
- ctest -V .
# Run Tests # Run Tests
after_script: 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 - 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 # Only watch the development branch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment