31 lines
657 B
INI
31 lines
657 B
INI
[tox]
|
|
envlist = coverage-django18-pylint,coverage-django111
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
nocoverage: False
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=chrono.settings
|
|
CHRONO_SETTINGS_FILE=tests/settings.py
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=chrono/
|
|
deps =
|
|
django18: django>=1.8,<1.9
|
|
django111: django>=1.11,<1.12
|
|
pytest-cov
|
|
pytest-django
|
|
pytest
|
|
pytest-capturelog
|
|
WebTest
|
|
mock
|
|
httmock
|
|
pylint
|
|
pylint-django
|
|
django-webtest
|
|
django-mellon
|
|
commands =
|
|
./getlasso.sh
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|
|
pylint: ./pylint.sh chrono/
|