From 0c9f8e2168e876c926e5a44b28bb9da5cf8a771a Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Fri, 10 May 2019 16:34: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 2e761f4..997a6c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -118,6 +118,7 @@ requires: - dbus-glib-devel - clang - clang-analyzer + - cppcheck-htmlreport - desktop-file-utils - exempi-devel - gcc @@ -202,7 +203,9 @@ build_scripts: after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index -i https://github.com/mate-desktop/eom/raw/master/data/icons/16x16/apps/eom.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/mate-desktop/eom/raw/master/data/icons/16x16/apps/eom.png - fi - make distcheck -- cgit v1.2.1