kombu/tox.ini

62 lines
1.8 KiB
INI
Raw Normal View History

[tox]
2016-10-11 19:33:31 +00:00
envlist =
2.7
pypy
pypy3
2016-10-11 19:33:31 +00:00
3.5
3.6
3.7-{linux,windows}
2019-10-22 20:28:29 +00:00
3.8-{linux,windows}
2016-10-11 19:33:31 +00:00
flake8
flakeplus
apicheck
pydocstyle
[testenv]
sitepackages = False
2014-08-11 17:38:07 +00:00
setenv = C_DEBUG_TEST = 1
passenv =
DISTUTILS_USE_SDK
2015-09-29 21:44:06 +00:00
deps=
2019-10-22 20:28:29 +00:00
apicheck,2.7,pypy,pypy3,3.5,3.6,3.7-linux,3.7-windows,3.8-linux,3.8-windows: -r{toxinidir}/requirements/default.txt
apicheck,2.7,pypy,pypy3,3.5,3.6,3.7-linux,3.7-windows,3.8-linux,3.8-windows: -r{toxinidir}/requirements/test.txt
apicheck,2.7,pypy,pypy3,3.5,3.6,3.7-linux,3.8-linux: -r{toxinidir}/requirements/test-ci.txt
2.7,pypy: -r{toxinidir}/requirements/test-ci-py2.txt
3.7-windows: -r{toxinidir}/requirements/test-ci-windows.txt
2016-04-05 21:57:00 +00:00
2016-04-08 21:03:29 +00:00
apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt
2016-10-11 19:33:31 +00:00
flake8,flakeplus,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
2016-04-08 21:03:29 +00:00
commands = pip install -U -r{toxinidir}/requirements/dev.txt
python -bb -m pytest -rxs -xv --cov=kombu --cov-report=xml --no-cov-on-fail {posargs}
2016-04-08 21:03:29 +00:00
2015-09-29 21:44:06 +00:00
basepython =
2.7,flakeplus,flake8,linkcheck,cov: python2.7
2015-09-29 21:44:06 +00:00
3.5: python3.5
3.6,apicheck,pydocstyle: python3.6
2019-01-09 21:20:36 +00:00
3.7: python3.7
2019-10-22 20:28:29 +00:00
3.8: python3.8
pypy,pypy3: pypy
2016-04-08 21:03:29 +00:00
2019-03-03 20:33:51 +00:00
install_command = python -m pip --disable-pip-version-check install {opts} {packages}
2016-04-08 21:03:29 +00:00
[testenv:apicheck]
2016-04-09 05:05:31 +00:00
commands = pip install -U -r{toxinidir}/requirements/dev.txt
2019-01-09 14:47:52 +00:00
sphinx-build -j2 -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck
2016-04-08 21:03:29 +00:00
[testenv:linkcheck]
2016-04-09 05:05:31 +00:00
commands = pip install -U -r{toxinidir}/requirements/dev.txt
2019-01-09 14:47:52 +00:00
sphinx-build -j2 -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
2016-04-05 21:57:00 +00:00
[testenv:flake8]
commands =
2019-01-09 20:55:55 +00:00
flake8 -j2 {toxinidir}/kombu {toxinidir}/t
2016-04-05 21:57:00 +00:00
[testenv:flakeplus]
commands =
2016-08-24 02:28:05 +00:00
flakeplus --2.7 {toxinidir}/kombu {toxinidir}/t
2016-10-11 19:33:31 +00:00
[testenv:pydocstyle]
commands =
2016-10-11 20:33:10 +00:00
pydocstyle {toxinidir}/kombu