From 718f718764a24dce78df9f5e22acffd3425bd3ca Mon Sep 17 00:00:00 2001 From: bin liu Date: Wed, 23 Sep 2020 10:25:57 +0800 Subject: [PATCH] ci: use export command to export envs instead of env config item Config item env is used as a Matrix Expansion key, so these envs will export to build jobs individually. Signed-off-by: bin liu --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c0414d5818..6d5ca171c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,13 +21,11 @@ cache: directories: - src/agent/target -env: - - target_branch=$TRAVIS_BRANCH - - RUST_BACKTRACE=1 - before_install: - git remote set-branches --add origin "${TRAVIS_BRANCH}" - git fetch + - export RUST_BACKTRACE=1 + - export target_branch=$TRAVIS_BRANCH - "ci/setup.sh" # we use install to run check agent