summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--requirements-testing.txt5
-rwxr-xr-xtools/teamcity-runtests.sh3
2 files changed, 7 insertions, 1 deletions
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