Install Tox in a virtualenv for SFC 09/64509/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 5 Nov 2018 15:55:06 +0000 (07:55 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 5 Nov 2018 15:55:06 +0000 (07:55 -0800)
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>
jjb/sfc/sfc-project-jobs.yaml

index f8ceef7..9ca0b92 100644 (file)
@@ -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
 
 ################################