Re: [PATCH 2/2] travis-ci: fail if Coccinelle static analysis found something to transform
SZEDER Gábor <szeder.dev@gmail.com> writes:
Show 12 quoted lines
> On Mon, Jul 23, 2018 at 3:02 PM SZEDER Gábor <szeder.dev@gmail.com> wrote:
>
>> 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