summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/teamcity-runtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/teamcity-runtests.sh b/tools/teamcity-runtests.sh
index b74f179..be0b5b6 100755
--- a/tools/teamcity-runtests.sh
+++ b/tools/teamcity-runtests.sh
@@ -25,7 +25,8 @@ if [ -z $venv_wrapper ]; then
fi
. ${venv_wrapper}
-workon ${venv} || mkvirtualenv -p `which python${pyversion}` ${venv} || true
+rmvirtualenv ${venv} || true
+mkvirtualenv -p `which python${pyversion}` ${venv}
# install ptyprocess
cd $here/../../ptyprocess