summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-05-18 12:38:01 +0200
committerZenWalker <[email protected]>2019-05-18 13:00:00 +0200
commitc77b65a64b51bb51312bcdc545da1ba5d8ba9122 (patch)
tree4aadc7726064bc33f5eb4882b1bc35d0c3be8c1e
parenta70a2a243bafc143bdcebe82ac788d54c851c027 (diff)
downloadmate-terminal-c77b65a64b51bb51312bcdc545da1ba5d8ba9122.tar.bz2
mate-terminal-c77b65a64b51bb51312bcdc545da1ba5d8ba9122.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 cf7bc68..9f2f449 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -100,6 +100,7 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-terminal.git
- clang
- clang-analyzer
+ - cppcheck-htmlreport
- gcc
- dconf-devel
- desktop-file-utils
@@ -165,7 +166,9 @@ build_scripts:
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- - ./gen-index -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/apps/utilities-terminal.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-icon-theme/raw/master/mate/16x16/apps/utilities-terminal.png
- fi
- make distcheck