summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-07-17 20:46:40 +0200
committerPablo Barciela <[email protected]>2019-07-17 20:46:40 +0200
commit94a566dda7a783647ce72186d48563ee1ac0146e (patch)
treec17c98d6f90000e6be416a3a692ce8ba49036b84
parent95e14fcc0e8bc7f1fa37d9865eb6a40d41b759eb (diff)
downloadlibmatekbd-94a566dda7a783647ce72186d48563ee1ac0146e.tar.bz2
libmatekbd-94a566dda7a783647ce72186d48563ee1ac0146e.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 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