summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-05-11 18:54:15 +0200
committerZenWalker <[email protected]>2019-05-15 09:01:20 +0200
commit3bc4420c67db5695658f036fae8c3ad9a767b383 (patch)
tree9e0403d9eb3c55cb8a834b258fb7872c2266e459 /.travis.yml
parent9b949cb0998ee288dbb8561919e85800cec7cc53 (diff)
downloadengrampa-3bc4420c67db5695658f036fae8c3ad9a767b383.tar.bz2
engrampa-3bc4420c67db5695658f036fae8c3ad9a767b383.tar.xz
[ci] Add cppcheck html report
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f5b21db..3429a77 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -101,6 +101,7 @@ requires:
- caja-devel
- clang
- clang-analyzer
+ - cppcheck-htmlreport
- desktop-file-utils
- file-devel
- gcc
@@ -163,7 +164,9 @@ build_scripts:
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then
- - ./gen-index -i https://github.com/mate-desktop/engrampa/raw/master/data/icons/16x16/apps/engrampa.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/engrampa/raw/master/data/icons/16x16/apps/engrampa.png
- fi
- make distcheck