Commit 243ee6c6 by Etienne Samson Committed by Patrick Steinhardt

travis: split valgrind check in its own script

(cherry picked from commit 74b0a432)
parent e42f8f73
......@@ -66,10 +66,7 @@ install:
script:
- script/cibuild.sh
- script/citest.sh
# Run Tests
after_success:
- if [ "$TRAVIS_OS_NAME" = "linux" -a -n "$VALGRIND" ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=./libgit2_clar.supp _build/libgit2_clar -ionline; fi
- script/cileaks.sh
# Only watch the development and master branches
branches:
......
#!/bin/sh
set -x
# If this platform doesn't support test execution, bail out now
if [ -n "$SKIP_TESTS" ];
then
exit $?;
fi
if [ -n "$VALGRIND" -a -e "$(which valgrind)" ]; then
valgrind --leak-check=full --show-reachable=yes --error-exitcode=125 --suppressions=./libgit2_clar.supp _build/libgit2_clar $@ -ionline
fi
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