This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
mandayejs/tox.ini

28 lines
729 B
INI

[tox]
envlist = py2-coverage-django111-pylint,py3-django111,py3-django22
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/mandayejs/
[testenv]
usedevelop =
coverage: True
setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
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
django22: django>=2.2,<2.3
pytest-cov
pytest-django
pytest
pylint
pylint-django
mock<4
djangorestframework>=3.3,<3.8
commands =
py2: ./getlasso.sh
py3: ./getlasso3.sh
py.test {env:COVERAGE:} {posargs:tests/}
pylint: ./pylint.sh mandayejs/