40 lines
1006 B
INI
40 lines
1006 B
INI
[tox]
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo/{env:BRANCH_NAME:}
|
|
envlist = coverage-py3-django111-pylint-{sqlite,pg},py3-django22-pg
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=combo.settings
|
|
COMBO_SETTINGS_FILE=tests/settings.py
|
|
TOX_WORK_DIR={toxworkdir}
|
|
SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
coverage: COVERAGE=--cov-report xml --cov-report html --cov=combo/
|
|
pg: DB_ENGINE=django.db.backends.postgresql_psycopg2
|
|
passenv =
|
|
BRANCH_NAME
|
|
deps =
|
|
django111: django>=1.11,<1.12
|
|
django22: django>=2.2,<2.3
|
|
pywebpush
|
|
pytest-cov
|
|
pytest-django
|
|
pytest-freezegun
|
|
pytest!=5.3.3
|
|
WebTest
|
|
mock<4
|
|
httmock
|
|
pylint<1.8
|
|
pylint-django<0.8.1
|
|
django-webtest<1.9.3
|
|
pg: psycopg2-binary
|
|
django-mellon>=1.13
|
|
vobject
|
|
django-ratelimit<3
|
|
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
|
commands =
|
|
./getlasso3.sh
|
|
python manage.py compilemessages
|
|
py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/}
|
|
pylint: ./pylint.sh combo/
|