Travis: Ensure naming convention in GUI

This commit is contained in:
Daniel Marjamäki 2018-06-18 14:23:28 +02:00
parent d6b976fd21
commit a660ccaec8
1 changed files with 2 additions and 2 deletions

View File

@ -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