Merge pull request #290 from manish3kumar/integrate-sa
Integrate cppcheck with travis-ci for libexpat
This commit is contained in:
commit
3270bbab5c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user