2017-04-24 13:58:51 +02:00
|
|
|
[tox]
|
2018-03-25 11:26:47 +02:00
|
|
|
envlist = py2-coverage-django18-pylint,{py2,py3}-coverage-django111
|
2017-04-24 13:58:51 +02:00
|
|
|
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
|
2018-11-15 09:27:12 +01:00
|
|
|
pytest>=3.3.0,<4
|
2017-04-24 13:58:51 +02:00
|
|
|
WebTest
|
|
|
|
mock
|
|
|
|
httmock
|
2017-12-20 16:10:37 +01:00
|
|
|
pylint<1.8
|
2018-12-24 09:13:18 +01:00
|
|
|
pylint-django<0.8.1
|
2018-05-04 15:35:19 +02:00
|
|
|
django-webtest<1.9.3
|
2018-06-20 22:16:14 +02:00
|
|
|
pytz
|
2018-03-25 11:26:47 +02:00
|
|
|
py2: django-mellon
|
|
|
|
py3: django-mellon>=1.2.35
|
2018-04-26 13:27:49 +02:00
|
|
|
pytest-freezegun
|
2017-04-24 13:58:51 +02:00
|
|
|
commands =
|
2018-03-25 11:26:47 +02:00
|
|
|
py2: ./getlasso.sh
|
|
|
|
py3: ./getlasso3.sh
|
2017-04-24 13:58:51 +02:00
|
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|
|
|
|
pylint: ./pylint.sh chrono/
|