chrono/tox.ini

34 lines
781 B
INI

[tox]
envlist = py3-django111-coverage-pylint, py3-django22
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
pytest
WebTest
mock
httmock
pylint<1.8
pylint-django<0.8.1
django-webtest
pytz
pyquery
django111: django-mellon>=1.2.35,!=1.6
django22: django-mellon>=1.6.1
pytest-freezegun
django111: django>=1.11,<1.12
django22: django>=2.2,<2.3
commands =
./getlasso3.sh
py.test {env:COVERAGE:} {posargs:tests/}
pylint: ./pylint.sh chrono/