summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-05-30 11:55:27 +0200
committerPablo Barciela <[email protected]>2019-05-30 12:05:07 +0200
commitb9b86ae32fbb6f428a4446623feea1d867e705d4 (patch)
tree60f621b56b1262daeb3fc8146266ec57589212cc
parent7c16cf9708a5ea46d673ec5202b3b6e3ec576dc3 (diff)
downloadmate-session-manager-b9b86ae32fbb6f428a4446623feea1d867e705d4.tar.bz2
mate-session-manager-b9b86ae32fbb6f428a4446623feea1d867e705d4.tar.xz
[ci] Add cppcheck html report
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
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