diff options
author | Pablo Barciela <[email protected]> | 2019-05-07 16:46:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-05-07 18:37:33 +0200 |
commit | 46cb23ba1aaed0dbcaf1df6ffac62f81fd06e6b4 (patch) | |
tree | 5f4dfdbc513812d98599d8cd81245db46f52a9db /.travis.yml | |
parent | dd161527f822ab152ee97c4ff8f4e111da10d27f (diff) | |
download | mate-panel-46cb23ba1aaed0dbcaf1df6ffac62f81fd06e6b4.tar.bz2 mate-panel-46cb23ba1aaed0dbcaf1df6ffac62f81fd06e6b4.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 ef0f26db..4c6f33fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,6 +119,7 @@ requires: # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-panel.git - clang-analyzer - clang + - cppcheck-htmlreport - desktop-file-utils - gcc - git @@ -220,7 +221,9 @@ before_scripts: after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index -i https://raw.githubusercontent.com/${OWNER_NAME}/${REPO_NAME}/master/icons/16x16/${REPO_NAME}.png + - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-menus-build' . + - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport + - ./gen-index -l 20 -i https://raw.githubusercontent.com/${OWNER_NAME}/${REPO_NAME}/master/icons/16x16/${REPO_NAME}.png - fi - make distcheck |