Re: [PATCH 2/2] travis-ci: fail if Coccinelle static analysis found something to transform
On Mon, Jul 23, 2018 at 3:02 PM SZEDER Gábor <szeder.dev@gmail.com> wrote:
Show 6 quoted lines
> The only way to draw attention in such an automated setting is to fail
> the build job. Therefore, modify the 'ci/run-static-analysis.sh'
> build script to check all the resulting '*.cocci.patch' files, and
> fail the build job if any of them turns out to be not empty. Include
> those files' contents, i.e. Coccinelle's suggested transformations, in
> the build job's trace log, so we'll know why it failed.
And this is how it looks like "in action":
https://travis-ci.org/git/git/jobs/408269979#L570