passerelle/tox.ini

30 lines
679 B
INI
Raw Normal View History

[tox]
2016-06-09 16:35:46 +02:00
envlist = coverage-django17-pylint,coverage-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
2016-05-09 17:18:31 +02:00
python-dateutil
2016-06-09 16:35:46 +02:00
pylint
pylint-django
django-webtest
commands =
./getmagic.sh
py.test {env:COVERAGE:} {posargs:tests/}
2016-06-09 16:35:46 +02:00
pylint: ./pylint.sh passerelle/