summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeff Quast <contact@jeffquast.com>2015-04-24 20:55:07 -0700
committerJeff Quast <contact@jeffquast.com>2015-04-24 20:55:07 -0700
commit05248aa57643d618bcd5e074bb159a309b0f1eb3 (patch)
tree40c827d765359b2fae8328e6461e6b7a509a7915 /tools
parentdf3e476c71c8a10d84788b03c79b4167ce6b778b (diff)
downloadpexpect-git-05248aa57643d618bcd5e074bb159a309b0f1eb3.tar.gz
Always re-create virtualenv.
In the case of osx.pexpect.org, a 'brew upgrade' was run, which updated the system python and screwed up re-using the existing
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