chrono/tox.ini

34 lines
759 B
INI

[tox]
envlist = py2-coverage-django18-pylint,{py2,py3}-coverage-django111
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/
[testenv]
usedevelop =
coverage: True
nocoverage: False
setenv =
DJANGO_SETTINGS_MODULE=chrono.settings
CHRONO_SETTINGS_FILE=tests/settings.py
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=chrono/
deps =
django18: django>=1.8,<1.9
django111: django>=1.11,<1.12
pytest-cov
pytest-django
pytest>=3.3.0
WebTest
mock
httmock
pylint<1.8
pylint-django<0.9
django-webtest<1.9.3
pytz
py2: django-mellon
py3: django-mellon>=1.2.35
pytest-freezegun
commands =
py2: ./getlasso.sh
py3: ./getlasso3.sh
py.test {env:COVERAGE:} {posargs:tests/}
pylint: ./pylint.sh chrono/