Travis: Check GUI code
This commit is contained in:
parent
53b77aafef
commit
06239907f1
|
@ -47,6 +47,8 @@ script:
|
||||||
- cd gui
|
- cd gui
|
||||||
- qmake
|
- qmake
|
||||||
- make -j4
|
- 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
|
# building gui generates some more files that cppcheck can check, so check the repo *after* building gui
|
||||||
- cd ../
|
- 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
|
# 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
|
||||||
|
|
Loading…
Reference in New Issue