do not create the venv virtualenv when it already exists
Change-Id: I934203b7cafba1d34405390bfb61b38711c1df14 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
33264f91d9
commit
748d6b0d80
|
@ -28,7 +28,9 @@ TOOLSDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
source $TOOLSDIR/functions
|
||||
|
||||
if [[ -z "$VIRTUAL_ENV" ]]; then
|
||||
tox -e venv --notest
|
||||
if [[ ! -d .tox/venv ]]; then
|
||||
tox -e venv --notest
|
||||
fi
|
||||
source ./.tox/venv/bin/activate
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue