summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-17 01:08:28 +0200
committerraveit65 <[email protected]>2022-07-19 23:38:35 +0200
commit9b1f0f776121b930380ff991780d00797c5618e6 (patch)
treeedd5692784cb493cf1fb80dfcf094f80a9774629 /.travis.yml
parent735a38e23c0cd67fefc25e6d13f26a187b56ea32 (diff)
downloadcaja-9b1f0f776121b930380ff991780d00797c5618e6.tar.bz2
caja-9b1f0f776121b930380ff991780d00797c5618e6.tar.xz
travis: enable cppcheck only in debian and disable it in other distros
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 227a1651..52bfb932 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -184,6 +184,9 @@ build_scripts:
- else
- scan-build $CHECKERS --keep-cc -o html-report make
- fi
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
+ - fi
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then