diff --git a/.travis.yml b/.travis.yml index 7aed15dafd..1471983e91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,4 +29,4 @@ script: after_success: - make check - - cppcheck --quiet *.h *.c tests/ + - if type cppcheck &> /dev/null ; then cppcheck --error-exitcode=1 --quiet *.h *.c tests/ ; fi