diff options
author | Pablo Barciela <[email protected]> | 2019-06-02 13:59:21 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-06-02 13:59:21 +0200 |
commit | ba38607f77b9dba35c8ef00c45714a2ac50933b2 (patch) | |
tree | 29b0a4e0007708a25685ee0fca46c9e49703ca72 /.travis.yml | |
parent | 5c433e4d09c04c2ada3cc1ae8f5985fa6caec10c (diff) | |
download | mate-sensors-applet-ba38607f77b9dba35c8ef00c45714a2ac50933b2.tar.bz2 mate-sensors-applet-ba38607f77b9dba35c8ef00c45714a2ac50933b2.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 cf73488..b4e1a73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,6 +103,7 @@ requires: # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-sensors-applet.git - clang - clang-analyzer + - cppcheck-htmlreport - gcc - git - gtk3-devel @@ -170,7 +171,9 @@ build_scripts: after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - - ./gen-index + - 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 - fi - make distcheck |