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

If some test failed try to find them and print log.

Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
/** Email created from pull request 36 (muvarov:master_travis_checks)
 ** https://github.com/Linaro/odp/pull/36
 ** Patch: https://github.com/Linaro/odp/pull/36.patch
 ** Base sha: 599ac6802352c9c56eca33a6004824783becaa6e
 ** Merge commit sha: 6cddc672435f8a765c1a03f39ba0149812b056b4
 **/
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 2a774d55..9d9f4563 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -170,6 +170,8 @@ script:
 
 after_success:
   - if [ -n "$DOCOV" ]; then find . -type f -iname '*.[ch]' -not -path 
".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X 
coveragepy; fi
+after_failure:
+  - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo 
{} \; -exec cat {} \;
 
 addons:
     coverity_scan:

Reply via email to