Merge pull request #272 from matthiaskrgr/travis
travis: fix grep of cppcheck.cppcheck log checking cppcheck code for errors
This commit is contained in:
commit
8492400e6f
|
@ -47,7 +47,7 @@ script:
|
||||||
# use same hack as for kernel 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 kernel 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
|
||||||
- touch /tmp/cppcheck.cppcheck
|
- touch /tmp/cppcheck.cppcheck
|
||||||
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppressions-list=.travis_suppressions . -j 2 |& tee /tmp/cppcheck.cppcheck
|
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppressions-list=.travis_suppressions . -j 2 |& tee /tmp/cppcheck.cppcheck
|
||||||
- sh -c "! grep "^\[" /tmp/cppcheck.cppcheck"
|
- sh -c "! grep '^\[' /tmp/cppcheck.cppcheck"
|
||||||
- cd ./gui
|
- cd ./gui
|
||||||
# clean rebuild
|
# clean rebuild
|
||||||
- git clean -dfx .
|
- git clean -dfx .
|
||||||
|
|
Loading…
Reference in New Issue