summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
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