Browse Source

.travis.yml:install valgrind

(#498)
tags/json-c-0.14-20200419
andy5995 6 years ago
parent
commit
50e7fff0f3
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      .travis.yml

+ 6
- 0
.travis.yml 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

Loading…
Cancel
Save