32 lines
751 B
INI
32 lines
751 B
INI
[tox]
|
|
envlist = py27-django111-coverage-pylint,py3-django111
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:}
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=welco.settings
|
|
WELCO_SETTINGS_FILE=tests/settings.py
|
|
fast: FAST=--nomigrations
|
|
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=welco/
|
|
deps =
|
|
django111: django>=1.11,<1.12
|
|
pytest-cov
|
|
pytest-django
|
|
pytest!=5.3.3
|
|
attrs<19.2
|
|
WebTest
|
|
mock
|
|
httmock
|
|
python-dateutil
|
|
pylint<1.8
|
|
pylint-django<0.8.1
|
|
django-webtest>=1.9.6
|
|
pyquery
|
|
lxml
|
|
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
|
commands =
|
|
pylint: ./pylint.sh welco/
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|