Commit 9f99c5de by Carlos Martín Nieto

travis: make it run the tests under valgrind

parent 465092ce
...@@ -12,7 +12,7 @@ env: ...@@ -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: ...@@ -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:
......
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