28 lines
622 B
INI
28 lines
622 B
INI
[tox]
|
|
envlist = coverage-{django17,django18}
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle/
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=passerelle.settings
|
|
PASSERELLE_SETTINGS_FILE=tests/settings.py
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=passerelle/ --cov-config .coveragerc
|
|
deps =
|
|
django17: django>1.7,<1.8
|
|
django18: django>=1.8,<1.9
|
|
pytest-cov
|
|
pytest-django
|
|
pytest
|
|
pytest-capturelog
|
|
WebTest
|
|
mock
|
|
httmock
|
|
pylint==1.4.0
|
|
astroid==1.3.2
|
|
python-dateutil
|
|
commands =
|
|
./getmagic.sh
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|