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
|
||||
- sh -c "! grep '^\[' /tmp/cppcheck.cppcheck"
|
||||
# check naming conventions
|
||||
- ${CPPCHECK} --dump -q lib
|
||||
- python addons/naming.py --private-member-variable='m[A-Z].*' lib/*.cpp.dump
|
||||
- ${CPPCHECK} --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
|
||||
# Validate XML
|
||||
|
|
Loading…
Reference in New Issue