mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Adds check-static to travis.yaml
This commit is contained in:
parent
4ad3574cf2
commit
616cf84c31
@ -7,6 +7,7 @@ addons:
|
||||
- libyajl-dev
|
||||
- libgeoip-dev
|
||||
- liblmdb-dev
|
||||
- cppcheck
|
||||
|
||||
language: cpp
|
||||
|
||||
@ -31,6 +32,7 @@ script:
|
||||
- ./configure $OPTS
|
||||
- make
|
||||
- make check
|
||||
- make check-static
|
||||
|
||||
|
||||
|
||||
|
@ -60,9 +60,7 @@ cppcheck:
|
||||
--inconclusive \
|
||||
--template="warning: {file},{line},{severity},{id},{message}" \
|
||||
--std=posix . 2> cppcheck.txt
|
||||
cat cppcheck.txt
|
||||
# -U YYSTYPE
|
||||
# -U YY_USER_INIT
|
||||
cat cppcheck.txt | grep -v "/ lalr1.cc"
|
||||
|
||||
check-static: cppcheck
|
||||
|
||||
|
@ -15,6 +15,11 @@ unusedFunction:src/utils.cc
|
||||
*:src/parser/seclang-scanner.cc
|
||||
*:parser/seclang-parser.hh
|
||||
*:parser/seclang-scanner.cc
|
||||
*:seclang-parser.tab.hh
|
||||
*:seclang-scanner.ll
|
||||
*:seclang-scanner.cc
|
||||
*:src/seclang-scanner.cc
|
||||
*:src/parser/seclang-parser.cc
|
||||
*:others/libinjection/src/libinjection_html5.c
|
||||
*:others/libinjection/src/libinjection_sqli.c
|
||||
*:others/libinjection/src/libinjection_xss.c
|
||||
@ -39,10 +44,7 @@ unreadVariable:test/regression/regression.cc:380
|
||||
shiftNegative:src/utils/msc_tree.cc
|
||||
nullPointerRedundantCheck:src/utils/msc_tree.cc:654
|
||||
*:test/benchmark/owasp-v3/util/av-scanning/runAV/common.c
|
||||
*:seclang-parser.tab.hh
|
||||
*:seclang-scanner.ll
|
||||
*:seclang-scanner.cc
|
||||
*:src/seclang-scanner.cc
|
||||
passedByValue:src/variables/time.h:34
|
||||
knownConditionTrueFalse:test/regression/regression.cc:453
|
||||
unusedFunction:test/unit/unit_test.cc:33
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user