2018-07-14 10:36:23 +02:00
|
|
|
[tox]
|
|
|
|
envlist = coverage-{django18,django111}
|
|
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
usedevelop =
|
|
|
|
coverage: True
|
|
|
|
setenv =
|
|
|
|
DJANGO_SETTINGS_MODULE=welco.settings
|
|
|
|
fast: FAST=--nomigrations
|
|
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=welco/
|
|
|
|
deps =
|
|
|
|
django18: django>=1.8,<1.9
|
2018-08-10 11:19:26 +02:00
|
|
|
django18: django-taggit<0.23
|
2018-10-30 08:41:15 +01:00
|
|
|
django18: django-reversion<3.0.1
|
2018-07-14 10:36:23 +02:00
|
|
|
django111: django>=1.11,<1.12
|
|
|
|
pytest-cov
|
|
|
|
pytest-django
|
|
|
|
pytest
|
|
|
|
WebTest
|
|
|
|
mock
|
|
|
|
httmock
|
|
|
|
python-dateutil
|
|
|
|
pylint<1.8
|
|
|
|
pylint-django<0.9
|
|
|
|
django-webtest
|
|
|
|
pyquery
|
|
|
|
lxml
|
|
|
|
commands =
|
|
|
|
py.test {env:FAST:} {env:COVERAGE:} {posargs:tests/}
|