[ci] Add cppcheck html report
parent
a70a2a243b
commit
c77b65a64b
|
@ -100,6 +100,7 @@ requires:
|
||||||
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-terminal.git
|
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-terminal.git
|
||||||
- clang
|
- clang
|
||||||
- clang-analyzer
|
- clang-analyzer
|
||||||
|
- cppcheck-htmlreport
|
||||||
- gcc
|
- gcc
|
||||||
- dconf-devel
|
- dconf-devel
|
||||||
- desktop-file-utils
|
- desktop-file-utils
|
||||||
|
@ -165,7 +166,9 @@ build_scripts:
|
||||||
|
|
||||||
after_scripts:
|
after_scripts:
|
||||||
- if [ ${DISTRO_NAME} == "fedora" ];then
|
- 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
|
- fi
|
||||||
- make distcheck
|
- make distcheck
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue