[C] Moved doxygen and cppcheck to basic linux

This commit is contained in:
seleznevae 2018-11-27 20:45:36 +03:00
parent 33e85413d9
commit 287bc409f2

View File

@ -88,7 +88,7 @@ matrix:
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-8', 'cppcheck', 'doxygen', 'graphviz', 'python-sphinx'] packages: ['g++-8']
deploy: deploy:
provider: pages provider: pages
skip_cleanup: true skip_cleanup: true
@ -134,7 +134,7 @@ script:
# cppcheck run # cppcheck run
- | - |
if [ "${FORT_C_COMPILER}" = "gcc-8" ]; then if [ "${BASIC_LINUX_GCC}" = "yes" ]; then
cppcheck --std=posix --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib 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=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=c99 --enable=warning,style,performance,portability,information,missingInclude --error-exitcode=1 lib