[C] Disable cppcheck in travis

This commit is contained in:
seleznevae 2019-08-27 09:27:20 +03:00
parent 5ad27d67d3
commit 8dd850571e

View File

@ -158,14 +158,14 @@ script:
fi
# cppcheck run
- |
if [ "${BASIC_LINUX_GCC}" = "yes" ]; then
cppcheck --std=posix --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
cppcheck --std=c89 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
cppcheck --std=c99 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
cppcheck --std=c++11 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
fi
## cppcheck run
#- |
# if [ "${BASIC_LINUX_GCC}" = "yes" ]; then
# cppcheck --std=posix --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
# cppcheck --std=c89 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
# cppcheck --std=c99 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
# cppcheck --std=c++11 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib
# fi
# clang-tidy run
- |