From 3cae39aa63d5bdbda00a1574c320b0dcd216f99c Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 1 Jun 2019 19:56:32 +0200 Subject: [ci] Add cppcheck html report --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 727084c..284bd14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -109,6 +109,7 @@ requires: - cairo-gobject-devel - clang-analyzer - clang + - cppcheck-htmlreport - dconf-devel - desktop-file-utils - gcc @@ -185,7 +186,9 @@ build_scripts: after_scripts: - if [ ${BUILD_TYPE} == "scripts" ];then - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index -i https://github.com/${OWNER_NAME}/${REPO_NAME}/raw/master/icons/hicolor_apps_16x16_mate.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/icons/hicolor_apps_16x16_mate.png - fi - make distcheck - fi -- cgit v1.2.1