From cb70ff9f5103b3e42c83cef6f95db99cf2bdfd36 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 9 Mar 2012 02:06:05 +0000 Subject: [PATCH] Update tox.ini for jenkins. The tox documentation is wrong, it looks for [tox:jenkins] instead of [tox:hudson]. Also, run "pip freeze" before running tests from within the virtualenv so we have a record of all versions used in each test run in Jenkins. Change-Id: Id0f34247f4545268f21dacb860d2e0fe72677a11 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2bb41590..9063460e 100644 --- a/tox.ini +++ b/tox.ini @@ -17,8 +17,11 @@ commands = nosetests --with-coverage --cover-html --cover-erase --cover-package= [testenv:venv] commands = {posargs} -[testenv:hudson] +[testenv:jenkins] downloadcache = ~/cache/pip +commands = + pip freeze + nosetests [testenv:jenkins26] basepython = python2.6