'/var/cache' isn't writable by others, but /var/tmp should be.
Also fixed the issue of not sourcing 'activate' within the bin path.
Change-Id: Ib7830cc33543227d6b67cac00edc212d889aec10
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
name: sfc-unit-tests-and-docs
builders:
- shell: |
name: sfc-unit-tests-and-docs
builders:
- shell: |
- virtualenv /var/cache/sfc
- source /var/cache/sfc
+ #!/bin/bash
+ virtualenv /var/tmp/sfc
+ source /var/tmp/sfc/bin/activate
pip install tox
cd $WORKSPACE && tox
pip install tox
cd $WORKSPACE && tox