Attempt to fix the pip cache

This commit is contained in:
Jean-Paul Calderone 2018-07-10 12:59:33 -04:00
parent 606cea7db5
commit 6e5d11dbd0

View File

@ -6,6 +6,10 @@ shift
TAHOE_LAFS_TOX_ARGS=$1
shift || :
# Make sure the ownership of the pip cache directory is correct. The CircleCI
# cache management operations seem to mess it up.
sudo chown --recursive nobody:nogroup /tmp/nobody/.cache
# Set up the virtualenv as a non-root user so we can run the test suite as a
# non-root user. See below.
sudo --set-home -u nobody virtualenv --python python2.7 /tmp/tests