Add python 3 section to tox
This commit is contained in:
parent
eb38e0ffff
commit
4a274466ac
9
tox.ini
9
tox.ini
|
@ -31,7 +31,6 @@ deps =
|
||||||
mock
|
mock
|
||||||
slimit
|
slimit
|
||||||
pillow
|
pillow
|
||||||
py2-ipaddress
|
|
||||||
whitelist_externals = py.test
|
whitelist_externals = py.test
|
||||||
commands = {envpython} setup.py test
|
commands = {envpython} setup.py test
|
||||||
|
|
||||||
|
@ -49,7 +48,7 @@ commands = py.test --basetemp=_pytest_temp deluge
|
||||||
|
|
||||||
[testenv:pydef]
|
[testenv:pydef]
|
||||||
commands =
|
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
|
py.test -v --basetemp=_pytest_temp -s -m "not (todo or gtkui)" deluge/tests
|
||||||
|
|
||||||
[testenv:pygtkui]
|
[testenv:pygtkui]
|
||||||
|
@ -78,9 +77,15 @@ commands =
|
||||||
py.test -v --basetemp=_pytest_temp -s deluge/plugins
|
py.test -v --basetemp=_pytest_temp -s deluge/plugins
|
||||||
|
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
|
deps =
|
||||||
|
{[testenv]deps}
|
||||||
|
py2-ipaddress
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands = {[testenv:pydef]commands}
|
commands = {[testenv:pydef]commands}
|
||||||
|
|
||||||
|
[testenv:py3]
|
||||||
|
basepython = python3
|
||||||
|
commands = {[testenv:pydef]commands}
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# Code style verification
|
# Code style verification
|
||||||
|
|
Loading…
Reference in New Issue