summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a8b13b1..edcdc9c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -95,6 +95,7 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/libmatekbd.git
- clang-analyzer
- clang
+ - cppcheck-htmlreport
- desktop-file-utils
- gcc
- gcc-c++
@@ -164,7 +165,9 @@ build_scripts:
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- - ./gen-index -i http://mate-desktop.org/favicon.ico
+ - 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 http://mate-desktop.org/favicon.ico
- fi
- make distcheck