summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2014-05-13 17:34:37 +0200
committerGiampaolo Rodola' <g.rodola@gmail.com>2014-05-13 17:34:37 +0200
commit7c2743ee138ff91e5f1840ff79a8dca536154b3a (patch)
tree85bb59722bbdf678c0d754ecbc572a26758853ba /tox.ini
parent653ef91e05a9be77a7ff3a35c39ea4b20bf52d34 (diff)
downloadpsutil-7c2743ee138ff91e5f1840ff79a8dca536154b3a.tar.gz
fix issue 492: add tox script to test psutil on multiple python versions (patch by msabramo); also add a 'make test-memleaks' command to Makefile
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 21 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..f6cd6393
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,21 @@
+# Tox (http://tox.testrun.org/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions.
+# To use it run "pip install tox" and then run "tox" from this
+# directory.
+
+[tox]
+envlist = py26, py27, py33, py34
+
+[testenv]
+deps =
+ pytest
+setenv =
+ PYTHONPATH = {toxinidir}/test
+commands = py.test {posargs}
+
+[testenv:py26]
+deps =
+ pytest
+ unittest2
+commands = py.test {posargs}