summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-07 20:17:42 +0200
committerPablo Barciela <[email protected]>2019-06-07 20:17:42 +0200
commit3b80aea28a4d0cc9bcf0bd648588fe05d1b42d63 (patch)
tree93781e7c22674cfd946574f0b666885412ade17a
parentab8cdc43ababc93fb14ce04245c9c01feeda9c6f (diff)
downloadmate-media-3b80aea28a4d0cc9bcf0bd648588fe05d1b42d63.tar.bz2
mate-media-3b80aea28a4d0cc9bcf0bd648588fe05d1b42d63.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 c2151a6..d5d63b8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -99,6 +99,7 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-media.git
- clang
- clang-analyzer
+ - cppcheck-htmlreport
- gcc
- desktop-file-utils
- git
@@ -165,7 +166,9 @@ build_scripts:
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- - ./gen-index -i https://github.com/${OWNER_NAME}/mate-media/raw/master/data/icons/16x16/status/audio-input-microphone-high.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}/mate-media/raw/master/data/icons/16x16/status/audio-input-microphone-high.png
- fi
- make distcheck