summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2015-07-21 23:22:28 +0200
committerVictor Stinner <vstinner@redhat.com>2015-07-21 23:23:48 +0200
commit9a489dee81d22af79419d151971738951c2ea047 (patch)
treebd1415e55e50c612e64880ba7d37b581456ba5d3 /tox.ini
parent603d5b07938ae5247b32b37eeea0cd1b6b518801 (diff)
downloadpyeclib-9a489dee81d22af79419d151971738951c2ea047.tar.gz
Add tox.ini
tox allows to easily run tests on Python 2 and Python 3. It creates a virtual environment and install pyeclib in each venv. Run "tox" to test both Python version, or "tox -e py27" to only test Python 2.7.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..5cee385
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,8 @@
+[tox]
+envlist = py27,py34
+
+[testenv]
+deps=
+ nose
+commands=
+ nosetests test/