From 4a274466acf55a8b5617b630ab4c7253827025bf Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 3 Mar 2017 10:14:34 +0000 Subject: Add python 3 section to tox --- tox.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 8fa10e806..d570348fb 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,6 @@ deps = mock slimit pillow - py2-ipaddress whitelist_externals = py.test commands = {envpython} setup.py test @@ -49,7 +48,7 @@ commands = py.test --basetemp=_pytest_temp deluge [testenv:pydef] commands = - python -c "import libtorrent as lt; print lt.__version__" + python -c "import libtorrent as lt; print(lt.__version__)" py.test -v --basetemp=_pytest_temp -s -m "not (todo or gtkui)" deluge/tests [testenv:pygtkui] @@ -78,9 +77,15 @@ commands = py.test -v --basetemp=_pytest_temp -s deluge/plugins [testenv:py27] +deps = + {[testenv]deps} + py2-ipaddress basepython = python2.7 commands = {[testenv:pydef]commands} +[testenv:py3] +basepython = python3 +commands = {[testenv:pydef]commands} ########################### # Code style verification -- cgit