travis: enable 'cppcheck' in debian

Pablo Barciela 2019-05-16 11:55:50 +02:00 committed by ZenWalker
parent 48ed97624d
commit a70a2a243b
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-terminal # Useful URL: https://salsa.debian.org/debian-mate-team/mate-terminal
- clang - clang
- clang-tools - clang-tools
- cppcheck
- gcc - gcc
- git - git
- intltool - intltool
@ -158,6 +159,9 @@ build_scripts:
- else - else
- scan-build $CHECKERS --keep-cc -o html-report make - scan-build $CHECKERS --keep-cc -o html-report make
- fi - fi
- if [ ${DISTRO_NAME} == "debian" ];then
- cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi
after_scripts: after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then - if [ ${DISTRO_NAME} == "fedora" ];then