summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-02-28 15:37:26 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-03-04 20:24:23 +0900
commitdef4c10babd2e229b2207914999ca83ed3020f47 (patch)
tree3a84855c7b65b1f23a26261899d8fdca8b883d15
parent147bac3c22cd79f67edb90b2af96a9669615d048 (diff)
downloadbuildstream-def4c10babd2e229b2207914999ca83ed3020f47.tar.gz
.gitlab-ci.yml: Use recent tox
There appears to be multiple versions of tox in the WSL test environment, prepending /root/.local/bin to the PATH while running tests ensures that we are using a recent enough tox to execute the tests.
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 579656198..cbfd44ec4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -158,10 +158,10 @@ tests-wsl:
before_script:
- mount
- df -h
- - tox --version
+ - PATH=/root/.local/bin:$PATH tox --version
script:
- - "${TEST_COMMAND}"
+ - PATH=/root/.local/bin:$PATH ${TEST_COMMAND}
allow_failure: true
# Automatically build documentation for every commit, we want to know