pytest-bdd/tox.ini

49 lines
1.3 KiB
INI
Raw Normal View History

[tox]
distshare = {homedir}/.tox/distshare
envlist = py27-pytestlatest-linters,
py27-pytest{36,37,38,39,310,4,41,42,43,44,45,46},
py37-pytest{36,37,38,39,310,4,41,42,43,44,45,46,5,latest},
2019-08-18 06:09:36 +08:00
py{35,36,38}-pytestlatest,
py27-pytestlatest-xdist
skip_missing_interpreters = true
[testenv]
deps =
pytestlatest: pytest
pytest5: pytest~=5.0.0
pytest46: pytest~=4.6.0
pytest45: pytest~=4.5.0
pytest44: pytest~=4.4.0
pytest43: pytest~=4.3.0
2019-02-17 18:35:06 +08:00
pytest42: pytest~=4.2.0
pytest41: pytest~=4.1.0
pytest4: pytest~=4.0.0
pytest310: pytest~=3.10.0
pytest39: pytest~=3.9.0
pytest38: pytest~=3.8.0
pytest37: pytest~=3.7.0
pytest36: pytest~=3.6.0
-r{toxinidir}/requirements-testing.txt
commands = py.test tests --junitxml={envlogdir}/junit-{envname}.xml
[testenv:py27-pytestlatest-linters]
commands = pycodestyle pytest_bdd tests
[testenv:py27-pytestlatest-xdist]
2013-12-11 07:16:57 +08:00
deps =
pytest-xdist
2013-12-11 07:16:57 +08:00
{[testenv]deps}
commands = {[testenv]commands} -n3 -rfsxX
[testenv:py27-pytestlatest-coveralls]
2015-06-24 07:16:10 +08:00
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
usedevelop = True
changedir = .
2015-06-24 07:16:10 +08:00
deps =
{[testenv]deps}
coveralls
commands =
coverage run --branch --source=pytest_bdd {envbindir}/pytest tests
2015-06-24 07:16:10 +08:00
coverage report -m
coveralls