26 lines
652 B
INI
26 lines
652 B
INI
[tox]
|
|
envlist = coverage-django18,coverage-django111
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=corbo.settings
|
|
CORBO_SETTINGS_FILE=tests/settings.py
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=corbo/ --cov-config .coveragerc
|
|
deps =
|
|
django18: django>=1.8,<1.9
|
|
django111: django>=1.11,<1.12
|
|
http://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
|
|
pytest-cov
|
|
pytest-django>=3.1.1,<3.4.6
|
|
pytest>=3.0.4
|
|
django-webtest<1.9.3
|
|
django-ckeditor<4.5.3
|
|
djangorestframework>=3.3,<3.7
|
|
pylint==1.4.0
|
|
astroid==1.3.2
|
|
mock
|
|
commands =
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|