1
|
[tox]
|
2
|
envlist = coverage-{django17,django18}
|
3
|
|
4
|
[testenv]
|
5
|
usedevelop =
|
6
|
coverage: True
|
7
|
setenv =
|
8
|
DJANGO_SETTINGS_MODULE=corbo.settings
|
9
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=corbo/ --cov-config .coveragerc
|
10
|
deps =
|
11
|
django17: django>1.7,<1.8
|
12
|
django18: django>=1.8,<1.9
|
13
|
pytest-cov
|
14
|
pytest-django
|
15
|
pytest
|
16
|
pytest-capturelog
|
17
|
django-webtest
|
18
|
django-ckeditor<4.5.3
|
19
|
djangorestframework>=3.3,<3.4
|
20
|
pylint==1.4.0
|
21
|
astroid==1.3.2
|
22
|
git+http://repos.entrouvert.org/python-emails.git#egg=emails
|
23
|
commands =
|
24
|
py.test {env:COVERAGE:} {posargs:tests/}
|