From: SZEDER Gábor Date: Thu, 26 Jul 2018 09:08:28 GMT Subject: Re: [PATCH 2/2] travis-ci: fail if Coccinelle static analysis found something to transform Message-ID: In-Reply-To: <20180723130230.22491-3-szeder.dev@gmail.com> On Mon, Jul 23, 2018 at 3:02 PM SZEDER Gábor 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