travis: check the repo with cppcheck after building gui.
This commit is contained in:
parent
962018b722
commit
edf44d2509
|
@ -20,11 +20,15 @@ script:
|
||||||
# compile cppcheck, default build
|
# compile cppcheck, default build
|
||||||
- make -j4
|
- make -j4
|
||||||
- make test -j4
|
- make test -j4
|
||||||
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppressions-list=.travis_suppressions .
|
|
||||||
# compile gui
|
# compile gui
|
||||||
- cd gui
|
- cd gui
|
||||||
- qmake
|
- qmake
|
||||||
- make -j4
|
- make -j4
|
||||||
|
# building gui generates some more files that cppcheck can check, so check the repo *after* building gui
|
||||||
|
- cd ../
|
||||||
|
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppressions-list=.travis_suppressions .
|
||||||
|
- cd ./gui
|
||||||
|
# clean rebuild
|
||||||
- git clean -dfx .
|
- git clean -dfx .
|
||||||
# can't set this as env flags, so try again with HAVE_RULES=yes
|
# can't set this as env flags, so try again with HAVE_RULES=yes
|
||||||
- qmake HAVE_RULES=yes
|
- qmake HAVE_RULES=yes
|
||||||
|
|
Loading…
Reference in New Issue