diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2017-03-03 11:14:34 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2017-03-17 00:20:56 +0100 |
commit | 4a274466acf55a8b5617b630ab4c7253827025bf (patch) | |
tree | 46207398318905f4cb735f8e9f62b91668ee1a9d | |
parent | [Py2to3] Large set of changes for Python 3 compat (diff) | |
download | deluge-4a274466acf55a8b5617b630ab4c7253827025bf.tar.xz deluge-4a274466acf55a8b5617b630ab4c7253827025bf.zip |
Add python 3 section to tox
-rw-r--r-- | tox.ini | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |