tox setup for 2.4-2.7
authorKenneth Reitz <me@kennethreitz.com>
Fri, 18 Feb 2011 00:38:40 +0000 (19:38 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Fri, 18 Feb 2011 00:38:40 +0000 (19:38 -0500)
test_suite.sh
tox.ini [new file with mode: 0644]

index bcea4c2..86f8cd3 100755 (executable)
@@ -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 (file)
index 0000000..9a7083f
--- /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