26 lines
659 B
INI
26 lines
659 B
INI
[tox]
|
|
envlist = py2-coverage-django111-pylint,py3-django111
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/mandayejs/
|
|
|
|
[testenv]
|
|
usedevelop =
|
|
coverage: True
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=mandayejs.settings
|
|
MANDAYEJS_SETTINGS_FILE=tests/settings.py
|
|
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov-report html --cov=mandayejs/ --cov-config .coveragerc
|
|
deps =
|
|
django111: django>=1.11,<2.0
|
|
pytest-cov
|
|
pytest-django
|
|
pytest>=3.3.0,<4.1
|
|
attrs<19.2
|
|
pylint<1.8
|
|
pylint-django<0.8.1
|
|
mock
|
|
djangorestframework>=3.3,<3.7
|
|
commands =
|
|
./getlasso.sh
|
|
py.test {env:COVERAGE:} {posargs:tests/}
|
|
pylint: ./pylint.sh mandayejs/
|