31 lines
857 B
INI
31 lines
857 B
INI
[tox]
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/corbo/{env:BRANCH_NAME:}
|
|
envlist = py3-coverage-django111,py3-django22
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
setenv =
|
|
DB_ENGINE=django.db.backends.postgresql_psycopg2
|
|
DJANGO_SETTINGS_MODULE=corbo.settings
|
|
CORBO_SETTINGS_FILE=tests/settings.py
|
|
SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov-report html --cov=corbo/ --cov-config .coveragerc
|
|
deps =
|
|
django111: django>=1.11,<1.12
|
|
django22: django>=2.2,<2.3
|
|
https://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
|
|
pytest-cov
|
|
pytest-django
|
|
pytest
|
|
django-webtest
|
|
premailer<3.7
|
|
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
|
djangorestframework>=3.3,<3.8
|
|
pylint
|
|
astroid
|
|
mock<4
|
|
psycopg2-binary
|
|
commands =
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|