.travis.yml:install valgrind

(#498)
This commit is contained in:
andy5995
2019-07-24 01:08:30 -05:00
parent c8e1b59ae5
commit 50e7fff0f3

View File

@@ -8,6 +8,7 @@ addons:
apt:
packages:
- cppcheck
- valgrind
os:
- linux
@@ -29,4 +30,9 @@ script:
after_success:
- make check
- result=$?
- if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi
- if [ $result != 0 ]; then
cat tests/*.log;
exit $result;
fi