travis: when checking variable naming convention, run cppcheck with 2 threads instead of one.
This commit is contained in:
parent
0b308dd095
commit
e46c499f5a
|
@ -74,7 +74,7 @@ script:
|
||||||
- ${CPPCHECK} --library=qt --error-exitcode=1 -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml/ -Icli --enable=style,performance,portability,warning,internal --exception-handling -j 2 gui --suppressions-list=.travis_suppressions -igui/test |& tee --append /tmp/cppcheck.cppcheck
|
- ${CPPCHECK} --library=qt --error-exitcode=1 -Ilib -Iexternals/simplecpp/ -Iexternals/tinyxml/ -Icli --enable=style,performance,portability,warning,internal --exception-handling -j 2 gui --suppressions-list=.travis_suppressions -igui/test |& tee --append /tmp/cppcheck.cppcheck
|
||||||
- sh -c "! grep '^\[' /tmp/cppcheck.cppcheck"
|
- sh -c "! grep '^\[' /tmp/cppcheck.cppcheck"
|
||||||
# check naming conventions
|
# check naming conventions
|
||||||
- ${CPPCHECK} --dump -q gui lib
|
- ${CPPCHECK} -j 2 --dump -q gui lib
|
||||||
- python addons/naming.py --private-member-variable='m[A-Z].*' gui/*.cpp.dump lib/*.cpp.dump
|
- python addons/naming.py --private-member-variable='m[A-Z].*' gui/*.cpp.dump lib/*.cpp.dump
|
||||||
# run extra tests
|
# run extra tests
|
||||||
- tools/generate_and_run_more_tests.sh
|
- tools/generate_and_run_more_tests.sh
|
||||||
|
|
Loading…
Reference in New Issue