[A] Addec cppcheck scan

This commit is contained in:
seleznevae 2018-11-18 10:10:57 +03:00
parent 8aec98ff66
commit 86291945c0

View File

@ -67,7 +67,7 @@ matrix:
addons: addons:
apt: apt:
sources: ['ubuntu-toolchain-r-test'] sources: ['ubuntu-toolchain-r-test']
packages: ['g++-8'] packages: ['g++-8', 'cppcheck']
# OSX / Clang # OSX / Clang
- os: osx - os: osx
@ -101,6 +101,12 @@ script:
export CXX=${FORT_CXX_COMPILER}; export CXX=${FORT_CXX_COMPILER};
fi fi
# cppcheck run
- if [[ "${FORT_C_COMPILER}" == "gcc-8" ]];
then
cppcheck lib
fi
# Print all environment variables to aid in CI development # Print all environment variables to aid in CI development
- printenv - printenv
# Print version and available CMake generators to aid in CI development # Print version and available CMake generators to aid in CI development