summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-04 21:21:46 +0200
committerPablo Barciela <[email protected]>2019-06-04 21:21:46 +0200
commit02f87c6ddfef5577e2c33fa5179bfc0d85de5bab (patch)
treed0646d869ed3e455ad53aa110a536cbb5596469b
parent7a50cc4d105f98d8a4400eb328926c978527f983 (diff)
downloadcaja-extensions-02f87c6ddfef5577e2c33fa5179bfc0d85de5bab.tar.bz2
caja-extensions-02f87c6ddfef5577e2c33fa5179bfc0d85de5bab.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 42fdfbf..f3db0f5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -105,6 +105,7 @@ requires:
- caja-devel
- clang
- clang-analyzer
+ - cppcheck-htmlreport
- dbus-glib-devel
- dbus-glib-devel
- gajim
@@ -187,7 +188,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/system-file-manager.png
+ - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'caja-1.22.0' .
+ - 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/system-file-manager.png
- fi
- make distcheck