[tarantool-patches] [PATCH v1] travis-ci: found wrong global environment setup

Alexander V. Tikhonov avtikhon at tarantool.org
Thu Jul 25 14:34:04 MSK 2019


Found that the travis-ci global environment values schema
had the mistake in definition - fixed with added "global:" tag
and added the missed travis-ci environment value to the docker
call.

Closes #4377
---

Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4377-travis-global-env
Issue: https://github.com/tarantool/tarantool/issues/4377

 .travis.mk  | 1 +
 .travis.yml | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.travis.mk b/.travis.mk
index 7d349bc21..ca7f209b1 100644
--- a/.travis.mk
+++ b/.travis.mk
@@ -34,6 +34,7 @@ docker_%:
 		-e TRAVIS_JOB_ID=${TRAVIS_JOB_ID} \
 		-e CMAKE_EXTRA_PARAMS=${CMAKE_EXTRA_PARAMS} \
 		-e APT_EXTRA_FLAGS="${APT_EXTRA_FLAGS}" \
+		-e TEST_RUN_EXTRA_PARAMS="${TEST_RUN_EXTRA_PARAMS}" \
 		-e CC=${CC} \
 		-e CXX=${CXX} \
 		${DOCKER_IMAGE} \
diff --git a/.travis.yml b/.travis.yml
index 61c887296..21a69d15a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,8 +17,9 @@ cache:
 git:
     depth: 100500
 
-env: >
-    TEST_RUN_EXTRA_PARAMS="-j 1"
+env:
+    global:
+      - TEST_RUN_EXTRA_PARAMS="-j 1"
 
 jobs:
     include:
-- 
2.17.1





More information about the Tarantool-patches mailing list