2019-02-17 11:33:59 +01:00
|
|
|
[tox]
|
|
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/barbacompta/{env:BRANCH_NAME:}
|
2019-03-17 14:34:44 +01:00
|
|
|
envlist = py2-django111-pylint
|
2019-02-17 11:33:59 +01:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
usedevelop = True
|
|
|
|
basepython = python2
|
|
|
|
setenv =
|
|
|
|
DJANGO_SETTINGS_MODULE=eo_gestion.settings
|
|
|
|
BARBACOMPTA_SETTINGS_FILE=tests/settings.py
|
|
|
|
deps =
|
2019-03-17 14:43:57 +01:00
|
|
|
django>=1.11,<1.12
|
2019-02-17 11:33:59 +01:00
|
|
|
pytest-cov
|
|
|
|
pytest-django
|
|
|
|
pytest<4
|
|
|
|
WebTest
|
|
|
|
mock
|
|
|
|
httmock
|
|
|
|
pylint<1.8
|
|
|
|
pylint-django<0.8.1
|
|
|
|
django-webtest<1.9.3
|
|
|
|
django-mellon
|
|
|
|
html5lib<1.0
|
|
|
|
commands =
|
|
|
|
./getlasso.sh
|
2019-03-17 14:43:57 +01:00
|
|
|
./pylint.sh eo_gestion/
|
|
|
|
py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=eo_gestion/ tests/}
|