This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 332d48c9c25504b3cbb9451e292a98c15df17ccb (commit) from 0d3ee95d0fb3712631d81c5e6f4fb5f176617c5e (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 332d48c9c25504b3cbb9451e292a98c15df17ccb Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Thu Feb 9 00:50:53 2017 +0300
travis: add code style checks
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 maxim.uvarov@linaro.org Reviewed-by: Mike Holmes mike.holmes@linaro.org
diff --git a/.travis.yml b/.travis.yml index 5b9a29a..9544ec8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,6 +95,21 @@ before_install: - popd
script: + - echo $TRAVIS_COMMIT_RANGE + - ODP_PACHES=`echo $TRAVIS_COMMIT_RANGE | sed 's/.//'` +# Generate patches provided with $TRAVIS_COMMIT_RANGE. +# In case of force push and range is broken validate only the latest commit if it's not merge commit. + - git format-patch $ODP_PACHES; + if [ $? -ne 0 ]; then + git show --summary HEAD| grep -q '^Merge:'; + if [ $? -ne 0 ]; then + git format-patch HEAD^; + perl ./scripts/checkpatch.pl *.patch; + fi; + else + perl ./scripts/checkpatch.pl *.patch; + fi + - ./bootstrap - ./configure - make doxygen-doc
-----------------------------------------------------------------------
Summary of changes: .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
hooks/post-receive