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 all test
|
||||||
make DESTDIR="${PWD}"/ROOT install
|
make DESTDIR="${PWD}"/ROOT install
|
||||||
find ROOT -printf "%P\n" | sort
|
find ROOT -printf "%P\n" | sort
|
||||||
|
elif [[ ${MODE} = cppcheck ]]; then
|
||||||
|
cppcheck --quiet --error-exitcode=1 .
|
||||||
else
|
else
|
||||||
./qa.sh
|
./qa.sh
|
||||||
fi
|
fi
|
||||||
|
@ -22,6 +22,7 @@ env:
|
|||||||
- MODE=cmake-oos
|
- MODE=cmake-oos
|
||||||
- MODE=distcheck
|
- MODE=distcheck
|
||||||
- MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address
|
- MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address
|
||||||
|
- MODE=cppcheck
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@ -51,6 +52,7 @@ addons:
|
|||||||
- dos2unix
|
- dos2unix
|
||||||
- lzip
|
- lzip
|
||||||
- rpm
|
- rpm
|
||||||
|
- cppcheck
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./.travis.sh
|
- ./.travis.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user