Merge pull request #290 from manish3kumar/integrate-sa

Integrate cppcheck with travis-ci for libexpat
This commit is contained in:
Sebastian Pipping 2019-07-24 01:18:43 +02:00 committed by GitHub
commit 3270bbab5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,8 @@ elif [[ ${MODE} = cmake-oos ]]; then
make all test
make DESTDIR="${PWD}"/ROOT install
find ROOT -printf "%P\n" | sort
elif [[ ${MODE} = cppcheck ]]; then
cppcheck --quiet --error-exitcode=1 .
else
./qa.sh
fi

View File

@ -22,6 +22,7 @@ env:
- MODE=cmake-oos
- MODE=distcheck
- MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address
- MODE=cppcheck
matrix:
include:
@ -51,6 +52,7 @@ addons:
- dos2unix
- lzip
- rpm
- cppcheck
script:
- ./.travis.sh

View File

@ -11,3 +11,4 @@ brew "libtool"
brew "lzip"
brew "m4"
brew "rpm"
brew "cppcheck"