From 7b6ed48a86bc8bb4619445b5da859b7d603cd558 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 17 Feb 2011 19:38:40 -0500 Subject: [PATCH] tox setup for 2.4-2.7 --- test_suite.sh | 2 +- tox.ini | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 tox.ini diff --git a/test_suite.sh b/test_suite.sh index bcea4c2c..86f8cd30 100755 --- a/test_suite.sh +++ b/test_suite.sh @@ -1,4 +1,4 @@ -nosetests test_requests.py --with-xunit --with-coverage +tox coverage xml rm -fr pylint.txt pylint -d W0312 -d W0212 -d E1101 -d E0202 -d W0102 -d E0102 -f parseable ./requests > pylint.txt || true diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..9a7083fb --- /dev/null +++ b/tox.ini @@ -0,0 +1,4 @@ +[tox] +envlist = py24,py25,py26,py27 +[testenv] +commands=nosetests --with-xunit --xunit-file=nosetests.xml \ No newline at end of file