pytest-mock/tox.ini

24 lines
537 B
INI
Raw Normal View History

2016-11-01 20:01:57 +01:00
[tox]
2017-09-18 19:14:14 +02:00
envlist = py{26,27,33,34,35,36}-pytest{27,28,29,30},linting
2016-11-01 20:01:57 +01:00
[testenv]
passenv = USER USERNAME
deps =
coverage
pytest27: pytest~=2.7
pytest28: pytest~=2.8
pytest29: pytest~=2.9
pytest30: pytest~=3.0
commands =
coverage run --append --source=pytest_mock.py -m pytest test_pytest_mock.py
[testenv:linting]
skip_install=True
deps =
pytest-flakes
restructuredtext_lint
pygments
commands =
py.test --flakes pytest_mock.py test_pytest_mock.py -m flakes
rst-lint CHANGELOG.rst README.rst