[A] Addec cppcheck scan
This commit is contained in:
parent
8aec98ff66
commit
86291945c0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user