2017-04-24 13:58:51 +02:00
|
|
|
[tox]
|
2019-09-21 21:22:27 +02:00
|
|
|
envlist = py3-django111-coverage-pylint, py3-django22
|
2019-03-31 15:08:41 +02:00
|
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:}
|
2017-04-24 13:58:51 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
usedevelop =
|
|
|
|
coverage: True
|
|
|
|
nocoverage: False
|
|
|
|
setenv =
|
|
|
|
DJANGO_SETTINGS_MODULE=chrono.settings
|
|
|
|
CHRONO_SETTINGS_FILE=tests/settings.py
|
2019-12-09 15:37:45 +01:00
|
|
|
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/
|
2017-04-24 13:58:51 +02:00
|
|
|
deps =
|
|
|
|
pytest-cov
|
|
|
|
pytest-django
|
2019-12-09 21:30:30 +01:00
|
|
|
pytest
|
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
|
2019-09-21 21:22:27 +02:00
|
|
|
django-webtest
|
2018-06-20 22:16:14 +02:00
|
|
|
pytz
|
2019-09-22 13:09:07 +02:00
|
|
|
django111: django-mellon>=1.2.35,!=1.6
|
2019-09-21 21:22:27 +02:00
|
|
|
django22: django-mellon>=1.6.1
|
2018-04-26 13:27:49 +02:00
|
|
|
pytest-freezegun
|
2019-09-21 21:22:27 +02:00
|
|
|
django111: django>=1.11,<1.12
|
|
|
|
django22: django>=2.2,<2.3
|
2017-04-24 13:58:51 +02:00
|
|
|
commands =
|
2019-09-21 21:22:27 +02:00
|
|
|
./getlasso3.sh
|
2017-04-24 13:58:51 +02:00
|
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|
|
|
|
pylint: ./pylint.sh chrono/
|