summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-11-05 07:55:06 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-11-05 07:55:06 -0800
commitcaa918db3fca76b9f2e47b353b35465057afaf14 (patch)
tree41866f8a8f8456f5d5488f57c99eed9b82da5eec
parentc0c28db9493e0a01edb2050a3ce6ce72d6636071 (diff)
Install Tox in a virtualenv for SFC
This should alleviate the current issue with tox version conflicts caused by global-jjb limiting the tox version. Change-Id: I84644be109963a612c0679cb58f21b0daf649e56 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/sfc/sfc-project-jobs.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/sfc/sfc-project-jobs.yaml b/jjb/sfc/sfc-project-jobs.yaml
index f8ceef740..9ca0b92ef 100644
--- a/jjb/sfc/sfc-project-jobs.yaml
+++ b/jjb/sfc/sfc-project-jobs.yaml
@@ -77,6 +77,9 @@
name: sfc-unit-tests-and-docs
builders:
- shell: |
+ virtualenv /var/cache/sfc
+ source /var/cache/sfc
+ pip install tox
cd $WORKSPACE && tox
################################