diff mbox series

[v1,1/1] shippable: pass CI=true to tests

Message ID 1519833608-31223-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/1] shippable: pass CI=true to tests | expand

Commit Message

Github ODP bot Feb. 28, 2018, 4 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


sudo will strip most variables from host environment, including precious
CI=true setting, which we use to skip some obscure test results (like
traffic mngr) if tests are running in non-isolated environment. So
enforce CI=true when calling tests.

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

---
/** Email created from pull request 503 (lumag:shippable-tm-fix)
 ** https://github.com/Linaro/odp/pull/503
 ** Patch: https://github.com/Linaro/odp/pull/503.patch
 ** Base sha: 84d072b5c7327437cae7a13333dd35ab9777ce14
 ** Merge commit sha: 53dcf66f15c10d85ad7e77a300270e410138d835
 **/
 .shippable.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/.shippable.yml b/.shippable.yml
index c01e3608e..9828ed527 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -41,13 +41,13 @@  build:
     - if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi
     - ./configure $CONF
     - make -j $(nproc)
-    - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=basic make check
+    - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=basic make check
     - ./scripts/shippable-post.sh basic
-    - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=sp make check
+    - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=sp make check
     - ./scripts/shippable-post.sh sp
-    - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=iquery make check
+    - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=iquery make check
     - ./scripts/shippable-post.sh iquery
-    - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=scalable make check
+    - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=scalable make check
     - ./scripts/shippable-post.sh scalable
 
   on_failure: