combo/tox.ini

32 lines
660 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
django-webtest
quixote
vobject
commands =
py.test {env:COVERAGE:} {posargs:tests/}
pylint: ./pylint.sh combo/