From ef6434d21bd88d18d48f01113bc44e1611acc918 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 25 Jun 2019 11:32:55 +0200 Subject: [ci] Add cppcheck html report --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b8b6c8c..2c93112 100644 --- a/.travis.yml +++ b/.travis.yml @@ -115,6 +115,7 @@ requires: - cairo-devel - clang - clang-analyzer + - cppcheck-htmlreport - dbus-glib-devel - desktop-file-utils - gcc @@ -198,7 +199,9 @@ after_scripts: - bash ./debian.sh - fi - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index -i https://github.com/${OWNER_NAME}/${REPO_NAME}/raw/master/data/icons/16x16/apps/mate-power-manager.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}/${REPO_NAME}/raw/master/data/icons/16x16/apps/mate-power-manager.png - fi - make distcheck -- cgit v1.2.1