From: Maxim Uvarov <maxim.uva...@linaro.org>

if checkpatch job is failed than it will be marked as failed.
But hole test suite will be passed.

Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
/** Email created from pull request 447 (muvarov:devel/master_travis)
 ** https://github.com/Linaro/odp/pull/447
 ** Patch: https://github.com/Linaro/odp/pull/447.patch
 ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd
 ** Merge commit sha: 4cdc81184ce184b01538741ed76e6b5135897cce
 **/
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index b7d6cd415..0f2461982 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -404,6 +404,7 @@ jobs:
                   compiler: clang-3.8
                   env: CROSS_ARCH="i386" CONF="--disable-abi-compat"
                 - stage: test
+                  canfail: yes
                   env: TEST=checkpatch
                   compiler: gcc
                   install:
@@ -412,6 +413,8 @@ jobs:
                           - echo ${TRAVIS_COMMIT_RANGE};
                           - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 
's/\.//'`;
                           - ./scripts/ci-checkpatches.sh ${ODP_PATCHES};
+        allow_failures:
+          - canfail: yes
 
 after_failure:
   - cat config.log

Reply via email to