From b9b86ae32fbb6f428a4446623feea1d867e705d4 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Thu, 30 May 2019 11:55:27 +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 65a6973..7645ec5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -112,6 +112,7 @@ requires: # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-session-manager.git - clang - clang-analyzer + - cppcheck-htmlreport - dbus-glib-devel - desktop-file-utils - gcc @@ -185,7 +186,9 @@ build_scripts: after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index + - 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 - fi - make distcheck -- cgit v1.2.1