rm venv before builds

This commit is contained in:
Alex Grintsvayg 2017-01-18 16:35:06 -05:00
parent 059fd11b94
commit 48d667b655

View file

@ -11,7 +11,10 @@ if [ -n "${TEAMCITY_VERSION:-}" ]; then
fi
VENV="$ROOT/venv"
VENV="$ROOT/build_venv"
if [ -d "$VENV" ]; then
rm -rf "$VENV"
fi
virtualenv "$VENV"
source "$VENV/bin/activate"