From 94a566dda7a783647ce72186d48563ee1ac0146e Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Wed, 17 Jul 2019 20:46:40 +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 a8b13b1..edcdc9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,6 +95,7 @@ requires: # Useful URL: https://src.fedoraproject.org/cgit/rpms/libmatekbd.git - clang-analyzer - clang + - cppcheck-htmlreport - desktop-file-utils - gcc - gcc-c++ @@ -164,7 +165,9 @@ build_scripts: after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index -i http://mate-desktop.org/favicon.ico + - 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 http://mate-desktop.org/favicon.ico - fi - make distcheck -- cgit v1.2.1