32 lines
668 B
INI
32 lines
668 B
INI
[tox]
|
|
envlist = coverage-{django18,django111}-pylint
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo/
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
nocoverage: False
|
|
setenv =
|
|
WCSCTL=wcs/wcsctl.py
|
|
DJANGO_SETTINGS_MODULE=combo.settings
|
|
COMBO_SETTINGS_FILE=tests/settings.py
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=combo/
|
|
deps =
|
|
django18: django>=1.8,<1.9
|
|
django111: django>=1.11,<1.12
|
|
pytest-cov
|
|
pytest-django
|
|
pytest
|
|
pytest-capturelog
|
|
WebTest
|
|
mock
|
|
httmock
|
|
pylint<1.8
|
|
pylint-django<0.9
|
|
django-webtest
|
|
quixote<3.0
|
|
vobject
|
|
commands =
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|
|
pylint: ./pylint.sh combo/
|