summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-25 11:32:55 +0200
committerPablo Barciela <[email protected]>2019-06-25 11:32:55 +0200
commitef6434d21bd88d18d48f01113bc44e1611acc918 (patch)
tree116aab7a88da7fae52a57f5c1c442eb5347f3a39 /.travis.yml
parent6d9955444e90c5eeb192cb2eaa542b87fc1b70db (diff)
downloadmate-power-manager-ef6434d21bd88d18d48f01113bc44e1611acc918.tar.bz2
mate-power-manager-ef6434d21bd88d18d48f01113bc44e1611acc918.tar.xz
[ci] Add cppcheck html report
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
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