snappass/tox.ini
2018-05-06 14:29:48 -07:00

15 lines
317 B
INI

[tox]
envlist = py27, py34, py35, py36, flake8
[testenv]
setenv =
MOCK_REDIS = 1
commands =
pip install -r requirements.txt
pip install -r dev-requirements.txt
py.test --junitxml=junit-{envname}.xml --cov-report xml tests.py -s
[testenv:flake8]
commands =
pip install flake8
flake8 snappass/