mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 04:01:41 +00:00
Mark travis build as failed if any test fails
This commit is contained in:
parent
92c4d25820
commit
cedc15af99
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user