2013-10-05 23:12:31 +02:00
|
|
|
[tox]
|
2018-05-06 21:45:38 +02:00
|
|
|
envlist = py27, py34, py35, py36, flake8
|
2013-10-05 23:12:31 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
pytest-cov
|
|
|
|
commands =
|
2018-05-06 21:45:38 +02:00
|
|
|
pip install -r requirements.txt
|
2013-10-05 23:12:31 +02:00
|
|
|
py.test --junitxml=junit-{envname}.xml --cov-report xml tests.py
|
2017-04-23 07:36:41 +02:00
|
|
|
|
2017-04-23 19:08:49 +02:00
|
|
|
[testenv:flake8]
|
2017-04-23 07:36:41 +02:00
|
|
|
commands =
|
|
|
|
pip install flake8
|
2017-04-23 19:08:49 +02:00
|
|
|
flake8 snappass/
|