From 71bbdf52ac153c7eaca631637ec96e63de50c2c7 Mon Sep 17 00:00:00 2001 From: Jeff Quast Date: Fri, 24 Apr 2015 21:25:21 -0700 Subject: mkvirtualenv may exit 1 when on success !? --- requirements-testing.txt | 5 +++++ tools/teamcity-runtests.sh | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 requirements-testing.txt diff --git a/requirements-testing.txt b/requirements-testing.txt new file mode 100644 index 0000000..1894122 --- /dev/null +++ b/requirements-testing.txt @@ -0,0 +1,5 @@ +pytest +pytest-cov +coverage +coveralls +pytest-capturelog diff --git a/tools/teamcity-runtests.sh b/tools/teamcity-runtests.sh index 7025c23..bcb28f7 100755 --- a/tools/teamcity-runtests.sh +++ b/tools/teamcity-runtests.sh @@ -27,7 +27,8 @@ fi . ${venv_wrapper} rmvirtualenv ${venv} || true -mkvirtualenv -p `which python${pyversion}` ${venv} +mkvirtualenv -p `which python${pyversion}` ${venv} || true +workon ${venv} # install ptyprocess cd $here/../../ptyprocess -- cgit v1.2.1