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