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