diff options
author | Pablo Barciela <[email protected]> | 2019-07-23 01:18:40 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-07-23 01:31:38 +0200 |
commit | bd9a80e4c885f3b042a71599ce25c3a3d08dc981 (patch) | |
tree | 35f4710ed6eb3c0ceac235321cfbbe49ff2d83f5 /.travis.yml | |
parent | 269d1773c3905d3ff32bdcd8c1762997201f8f79 (diff) | |
download | caja-dropbox-bd9a80e4c885f3b042a71599ce25c3a3d08dc981.tar.bz2 caja-dropbox-bd9a80e4c885f3b042a71599ce25c3a3d08dc981.tar.xz |
[ci] Add cppcheck html report
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3c1dfc6..d04934d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,6 +95,7 @@ requires: - caja-devel - clang-analyzer - clang + - cppcheck-htmlreport - gcc - git - make @@ -146,7 +147,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 . + - 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 |