diff options
author | Pablo Barciela <[email protected]> | 2019-04-17 01:08:28 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-04-17 02:08:43 +0200 |
commit | 2f3f26ee105181dbc2996f5fb492cfa24468cf6c (patch) | |
tree | d0669729003310a90186f071dd43f8bc7d725c9b /.travis.yml | |
parent | 238abcc94644169c9716c12901c14429767637d0 (diff) | |
download | caja-2f3f26ee105181dbc2996f5fb492cfa24468cf6c.tar.bz2 caja-2f3f26ee105181dbc2996f5fb492cfa24468cf6c.tar.xz |
travis: enable cppcheck only in debian and disable it in other distros
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index d5811127..24f766f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,7 +65,6 @@ requires: archlinux: # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/caja - clang - - cppcheck - gcc - git - make @@ -112,7 +111,6 @@ requires: # Useful URL: https://src.fedoraproject.org/cgit/rpms/caja.git/ - clang-analyzer - clang - - cppcheck - git - gcc - make @@ -135,7 +133,6 @@ requires: ubuntu: - clang - clang-tools - - cppcheck - git - gobject-introspection - gtk-doc-tools @@ -188,7 +185,9 @@ build_scripts: - else - scan-build $CHECKERS --keep-cc -o html-report make - fi - - cppcheck --enable=warning,style,performance,portability,information,missingInclude . + - if [ ${DISTRO_NAME} == "debian" ];then + - cppcheck --enable=warning,style,performance,portability,information,missingInclude . + - fi after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then |