mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-12 10:01:10 +00:00
travis: make it run the tests under valgrind
This commit is contained in:
parent
465092ce3f
commit
9f99c5de2e
@ -12,7 +12,7 @@ env:
|
|||||||
|
|
||||||
# Make sure CMake is installed
|
# Make sure CMake is installed
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install cmake
|
- sudo apt-get install cmake valgrind
|
||||||
|
|
||||||
# Run the Build script
|
# Run the Build script
|
||||||
script:
|
script:
|
||||||
@ -24,6 +24,7 @@ script:
|
|||||||
# Run Tests
|
# Run Tests
|
||||||
after_script:
|
after_script:
|
||||||
- ctest -V .
|
- ctest -V .
|
||||||
|
- if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes ./libgit2_clar; else echo "Skipping valgrind"; fi
|
||||||
|
|
||||||
# Only watch the development branch
|
# Only watch the development branch
|
||||||
branches:
|
branches:
|
||||||
|
Loading…
Reference in New Issue
Block a user