summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-18 11:59:12 -0400
committerTom Rini <trini@konsulko.com>2019-10-21 13:34:20 -0400
commitdc8ffa900eb6bffb50268eb173a48eefc8099a2d (patch)
treee3efa5aa0fcab5fa7db20777f3112066f551507c
parent4a0ba331c349b34a566226d5e35d76e0a78b5052 (diff)
downloadu-boot-dc8ffa900eb6bffb50268eb173a48eefc8099a2d.tar.gz
gitlab-ci: Prepend to PATH rather than overwrite it
We need to make sure that we prepend changes to PATH, so that any binaries we need to provide ourselves are used not overwrite PATH for this. Overwriting PATH like this breaks the python virtualenv PATH changes. Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b91b5f67af..ab294997e4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -48,7 +48,7 @@ stages:
# "-k something" even when $TEST_PY_TEST_SPEC doesnt need a custom
# value.
- export UBOOT_TRAVIS_BUILD_DIR=/tmp/.bm-work/${TEST_PY_BD};
- export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin;
+ export PATH=/opt/qemu/bin:/tmp/uboot-test-hooks/bin:${PATH};
export PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci;
if [[ "${TEST_PY_BD}" != "" ]]; then
./test/py/test.py --bd ${TEST_PY_BD} ${TEST_PY_ID}