Skip to content

Commit

Permalink
.travis.yml:install valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Jul 27, 2019
1 parent c8e1b59 commit 50e7fff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ addons:
apt:
packages:
- cppcheck
- valgrind

os:
- linux
Expand All @@ -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

0 comments on commit 50e7fff

Please sign in to comment.