chrono/tox.ini

33 lines
735 B
INI
Raw Normal View History

[tox]
envlist = py2-coverage-pylint,py3-coverage
2019-03-31 15:08:41 +02:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:}
[testenv]
usedevelop =
coverage: True
nocoverage: False
setenv =
DJANGO_SETTINGS_MODULE=chrono.settings
CHRONO_SETTINGS_FILE=tests/settings.py
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/
deps =
pytest-cov
pytest-django
2019-12-09 21:30:30 +01:00
pytest
WebTest
mock
httmock
pylint<1.8
pylint-django<0.8.1
2018-05-04 15:35:19 +02:00
django-webtest<1.9.3
pytz
py2: django-jsonfield<1.3
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/