Test with multiple versions of tornado. See #798
This commit is contained in:
parent
5daa95cae8
commit
6367b83735
@ -5,6 +5,8 @@ python:
|
||||
|
||||
env:
|
||||
- TOX_ENV=py27
|
||||
- TOX_ENV=tornado2.3
|
||||
- TOX_ENV=tornado3.2
|
||||
- TOX_ENV=docs
|
||||
- TOX_ENV=flake8
|
||||
|
||||
|
||||
14
tox.ini
14
tox.ini
@ -1,13 +1,23 @@
|
||||
[tox]
|
||||
envlist = py27, docs, flake8
|
||||
envlist = tornado2.3, tornado3.2, py27, docs, flake8
|
||||
|
||||
[testenv]
|
||||
sitepackages = true
|
||||
commands = nosetests -v --with-xunit --xunit-file=xunit-{envname}.xml --with-coverage --cover-package=mopidy
|
||||
deps =
|
||||
coverage
|
||||
mock
|
||||
nose
|
||||
commands = nosetests -v --with-xunit --xunit-file=xunit-{envname}.xml --with-coverage --cover-package=mopidy
|
||||
|
||||
[testenv:tornado2.3]
|
||||
commands = nosetests -v tests/http
|
||||
deps = {[testenv]deps}
|
||||
tornado==2.3
|
||||
|
||||
[testenv:tornado3.2]
|
||||
commands = nosetests -v tests/http
|
||||
deps = {[testenv]deps}
|
||||
tornado==3.1
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/docs/requirements.txt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user