Travis: Check GUI code

This commit is contained in:
Daniel Marjamäki 2017-04-22 19:44:07 +02:00
parent 53b77aafef
commit 06239907f1
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ script:
- cd gui
- qmake
- make -j4
# analyse gui code
- ./cppcheck --library=qt --enable=style gui/*.cpp
# building gui generates some more files that cppcheck can check, so check the repo *after* building gui
- cd ../
# use same hack as for clang to work around cppchecks broken exit status with -j 2 ; create file, tee everything to the file and stdout, grep for errors in the file