run checkpatch.pl to check code style for applied patches.
Do not check spelling now. Will check it only on merge requests.

Signed-off-by: Maxim Uvarov <[email protected]>
---
 .travis.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 67af2fc2..0c643399 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -91,6 +91,11 @@ before_install:
         - popd
 
 script:
+        - echo $TRAVIS_COMMIT_RANGE
+        - ODP_PACHES=`echo $TRAVIS_COMMIT_RANGE | sed 's/\.//'`
+        - git format-patch $ODP_PACHES
+        - perl ./scripts/checkpatch.pl *.patch
+
         - ./bootstrap
         - ./configure
         - make doxygen-doc
-- 
2.11.0.295.gd7dffce

Reply via email to