Filter clang-tidy output on Drone for errors
authorStephan Beyer <s-beyer@gmx.net>
Tue, 7 Jul 2020 06:51:05 +0000 (08:51 +0200)
committerKevin Ottens <ervin@ipsquad.net>
Wed, 8 Jul 2020 12:08:41 +0000 (14:08 +0200)
commit82f38aa37d5a56dbbea12f010cacd782eed57095
tree2c17db39acc81a2e504367a9690534b274240fa7
parent8e6d9401c7a77c8ed3c8a6075768f68443a0ea19
Filter clang-tidy output on Drone for errors

The run-clang-tidy is very verbose and prints a lot of unneccessary
information.  This commit greps for errors in the output.
Moreover, we add the -quiet switch.

As a desired "side" effect, this commit repairs the issue of
run-clang-tidy-6.0 that it does not return a usable exit code.
Hence clang-tidy errors will lead to CI failures now.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
.drone.yml