|
[tox]
|
|
envlist = coverage-{django17,django18}
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=corbo.settings
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=corbo/ --cov-config .coveragerc
|
|
deps =
|
|
django17: django>1.7,<1.8
|
|
django18: django>=1.8,<1.9
|
|
pytest-cov
|
|
pytest-django
|
|
pytest
|
|
pytest-capturelog
|
|
django-webtest
|
|
django-ckeditor<4.5.3
|
|
djangorestframework>=3.3,<3.4
|
|
pylint==1.4.0
|
|
astroid==1.3.2
|
|
git+http://repos.entrouvert.org/python-emails.git#egg=emails
|
|
commands =
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|