summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-05-10 16:34:27 +0200
committerZenWalker <[email protected]>2019-05-15 09:05:24 +0200
commit0c9f8e2168e876c926e5a44b28bb9da5cf8a771a (patch)
treec425677e98ab28df4c7c53158b902e8ad317f5f2
parent437afccee62a74c32bcf95dce4533105674c3d9e (diff)
downloadeom-0c9f8e2168e876c926e5a44b28bb9da5cf8a771a.tar.bz2
eom-0c9f8e2168e876c926e5a44b28bb9da5cf8a771a.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 2e761f4..997a6c5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -118,6 +118,7 @@ requires:
- dbus-glib-devel
- clang
- clang-analyzer
+ - cppcheck-htmlreport
- desktop-file-utils
- exempi-devel
- gcc
@@ -202,7 +203,9 @@ build_scripts:
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- - ./gen-index -i https://github.com/mate-desktop/eom/raw/master/data/icons/16x16/apps/eom.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/mate-desktop/eom/raw/master/data/icons/16x16/apps/eom.png
- fi
- make distcheck