snappass/tox.ini

16 lines
313 B
INI
Raw Permalink Normal View History

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]
2018-05-06 23:28:46 +02:00
setenv =
MOCK_REDIS = 1
2013-10-05 23:12:31 +02:00
commands =
2018-05-06 21:45:38 +02:00
pip install -r requirements.txt
2018-05-06 23:28:46 +02:00
pip install -r dev-requirements.txt
pytest --junitxml=junit-{envname}.xml --cov-report xml tests.py
2017-04-23 07:36:41 +02:00
[testenv:flake8]
2017-04-23 07:36:41 +02:00
commands =
pip install flake8
flake8 snappass/