Travis: Ensure naming convention in GUI
This commit is contained in:
parent
d6b976fd21
commit
a660ccaec8
|
@ -74,8 +74,8 @@ 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 lib
|
- ${CPPCHECK} --dump -q gui lib
|
||||||
- python addons/naming.py --private-member-variable='m[A-Z].*' 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
|
||||||
# Validate XML
|
# Validate XML
|
||||||
|
|
Loading…
Reference in New Issue