[ci] Add cppcheck html report

Pablo Barciela 2019-05-18 12:38:01 +02:00 committed by ZenWalker
parent a70a2a243b
commit c77b65a64b
1 changed files with 4 additions and 1 deletions

View File

@ -100,6 +100,7 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-terminal.git
- clang
- clang-analyzer
- cppcheck-htmlreport
- gcc
- dconf-devel
- desktop-file-utils
@ -165,7 +166,9 @@ build_scripts:
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- ./gen-index -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/apps/utilities-terminal.png
- cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude .
- cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport
- ./gen-index -l 20 -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/apps/utilities-terminal.png
- fi
- make distcheck