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
|
2018-05-08 03:35:31 +02:00
|
|
|
pytest --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/
|