diff options
author | Pablo Barciela <[email protected]> | 2019-05-09 21:06:03 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-05-10 15:20:45 +0200 |
commit | 962f1b0464dfcac6223b6ae2b8e8228863800ea2 (patch) | |
tree | ba2bfbdd339dc05227ec96f04ddf74ab584428ec /.travis.yml | |
parent | 62569cfa651e3839221ce2ae150cc4cf6d2c8c6e (diff) | |
download | mate-control-center-962f1b0464dfcac6223b6ae2b8e8228863800ea2.tar.bz2 mate-control-center-962f1b0464dfcac6223b6ae2b8e8228863800ea2.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 07549a10..b1424280 100644 --- a/.travis.yml +++ b/.travis.yml @@ -124,6 +124,7 @@ requires: - cairo-gobject-devel - clang - clang-analyzer + - cppcheck-htmlreport - dconf-devel - desktop-file-utils - gcc @@ -263,7 +264,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/categories/preferences-desktop.png + - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.22.0' -i'mate-menus-1.22.0' -i'mate-settings-daemon-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/categories/preferences-desktop.png - fi - make distcheck |