[PATCH] travis: add checkpatch analysis

Jan Kiszka jan.kiszka at siemens.com
Fri Mar 22 21:54:19 CET 2019

On 22.03.19 20:45, Roman Stratiienko wrote:
> Thank you for feedback. After testing of this patch I faced some challenges:
> 1. checkpatch.pl <http://checkpatch.pl> from kernel tree always different. Old 
> kernel checkpatch doesn't support git option. So we need to find a way to use 
> ommon utility for all kernel or just enable checkpatch only on most recent kernel
> 2. Even if there is no checkpatch errors, but warnings still present, exit code 
> will be false. And I can't find command line option to override it.
> 3. Getting delta commits in master..next range isn't a trivial task. Travis 
> clone only single branch with - - depth=50 option. Unshallowing entire 
> repository will take some amount of time, that will slow down build process and 
> it is not what me want from CI system.

Yeah... But I guess I start to could run it locally.


Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

More information about the Xenomai mailing list