travis: when checking variable naming convention, run cppcheck with 2 threads instead of one.

This commit is contained in:
Matthias Krüger 2018-07-16 10:52:40 +02:00
parent 0b308dd095
commit e46c499f5a
1 changed files with 1 additions and 1 deletions

View File

@ -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
- sh -c "! grep '^\[' /tmp/cppcheck.cppcheck"
# 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
# run extra tests
- tools/generate_and_run_more_tests.sh