diff options
author | Pablo Barciela <[email protected]> | 2019-06-25 11:32:55 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-06-25 11:32:55 +0200 |
commit | ef6434d21bd88d18d48f01113bc44e1611acc918 (patch) | |
tree | 116aab7a88da7fae52a57f5c1c442eb5347f3a39 | |
parent | 6d9955444e90c5eeb192cb2eaa542b87fc1b70db (diff) | |
download | mate-power-manager-ef6434d21bd88d18d48f01113bc44e1611acc918.tar.bz2 mate-power-manager-ef6434d21bd88d18d48f01113bc44e1611acc918.tar.xz |
[ci] Add cppcheck html report
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
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 |