diff options
author | Pablo Barciela <[email protected]> | 2019-06-01 19:56:32 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-06-01 19:56:32 +0200 |
commit | 3cae39aa63d5bdbda00a1574c320b0dcd216f99c (patch) | |
tree | f5ee049fda220629c7e72d71b5421dadc86ad2ad /.travis.yml | |
parent | 53776aa4c6ca311497adaddff9a9a6679f39f6b3 (diff) | |
download | mate-desktop-3cae39aa63d5bdbda00a1574c320b0dcd216f99c.tar.bz2 mate-desktop-3cae39aa63d5bdbda00a1574c320b0dcd216f99c.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 727084c..284bd14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -109,6 +109,7 @@ requires: - cairo-gobject-devel - clang-analyzer - clang + - cppcheck-htmlreport - dconf-devel - desktop-file-utils - gcc @@ -185,7 +186,9 @@ build_scripts: after_scripts: - if [ ${BUILD_TYPE} == "scripts" ];then - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index -i https://github.com/${OWNER_NAME}/${REPO_NAME}/raw/master/icons/hicolor_apps_16x16_mate.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}/${REPO_NAME}/raw/master/icons/hicolor_apps_16x16_mate.png - fi - make distcheck - fi |