summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-05-10 21:09:35 +0200
committerZenWalker <[email protected]>2019-05-15 09:02:40 +0200
commitb789b878de96b08731c148c8c505dcdf075b9ffb (patch)
treed087eddf105a7ed9b102ea23d36e7b9b8ee5dae7
parent8ef9f0668c383b117b7f2ae6ddacb7dd38c1a543 (diff)
downloadmate-utils-b789b878de96b08731c148c8c505dcdf075b9ffb.tar.bz2
mate-utils-b789b878de96b08731c148c8c505dcdf075b9ffb.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 f609f795..0aba9784 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -108,6 +108,7 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-utils.git
- clang
- clang-analyzer
+ - cppcheck-htmlreport
- desktop-file-utils
- e2fsprogs-devel
- gcc
@@ -189,7 +190,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