[v1,1/1] shippable: process test results in post_ci stage

Message ID 1514919610-15373-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • shippable: process test results in post_ci stage
Related show

Commit Message

Github ODP bot Jan. 2, 2018, 7 p.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Processing tests in ci stage ends up with empty test results in case of
failure (as ci stage will abort after failure). Process them in post_ci
stage to actually capture failed test results.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 378 (lumag:shippable-ci)
 ** https://github.com/Linaro/odp/pull/378
 ** Patch: https://github.com/Linaro/odp/pull/378.patch
 ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea
 ** Merge commit sha: cd11fec277e8fe365911672cec426e2beb2cea54
 **/
 .shippable.yml | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/.shippable.yml b/.shippable.yml
index 6e5c66fcd..9bc2cb6f7 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -39,6 +39,8 @@  build:
     - ./configure --disable-test-perf
     - make
     - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check
+
+  post_ci:
     - wget https://raw.githubusercontent.com/shawnliang/cunit-to-junit/master/cunit-to-junit.xsl
     - |
       for FILE in `find  ./test ./platform/ -name  "*.xml"`; do