[PATCH] travis: add checkpatch analysis

roman.stratiienko at globallogic.com roman.stratiienko at globallogic.com
Tue Mar 19 15:28:22 CET 2019


From: Roman Stratiienko <roman.stratiienko at globallogic.com>

Check last 10 commits with checkpatch.pl before build

Signed-off-by: Roman Stratiienko <roman.stratiienko at globallogic.com>
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index 0cd9e571f..6fb604bf2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -78,6 +78,7 @@ before_script:
   - popd
 
 script:
+  - ${KDIR}/scripts/checkpatch.pl --git HEAD~10..HEAD
   - scripts/prepare-kernel.sh --ipipe=/tmp/ipipe.patch --arch=${ARCH} --linux=${KDIR}
   - pushd ${KDIR}
   - make -j $(nproc) olddefconfig
-- 
2.17.1




More information about the Xenomai mailing list