django-gssapi/tox.ini

51 lines
1.3 KiB
INI
Raw Normal View History

2014-08-09 01:19:09 +02:00
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/django-gssapi/{env:BRANCH_NAME:}
2022-01-13 03:13:38 +01:00
envlist = py27-dj111{-stretch,},py3-{dj111,dj20,dj22,dj3x},pylint
2014-08-09 01:19:09 +02:00
[testenv]
whitelist_externals =
/bin/mv
/bin/rm
setenv =
DJANGO_SETTINGS_MODULE=settings
PYTHONPATH=tests
COVERAGE={tty::--cov-branch --cov-append --cov=src/ --cov-report=html --cov-report=xml --cov-config .coveragerc}
2014-08-09 01:19:09 +02:00
DB_ENGINE=django.db.backends.sqlite3
usedevelop = true
deps =
stretch: gssapi<1.2.3
dj18: django>1.8,<1.9
dj18: django-tables2<1.1
dj111: django<2.0
dj20: django<2.1
2022-01-13 03:13:38 +01:00
dj22: django<2.3
dj3x: django<4
2014-08-09 01:19:09 +02:00
djlast: django
2019-12-09 11:57:54 +01:00
pytest
2014-08-09 01:19:09 +02:00
pytest-mock
pytest-django
pytest-cov
k5test
django-rest-framework
commands =
py.test {env:COVERAGE:} -o junit_suite_name={envname} --junit-xml=junit-{envname}.xml {posargs:tests}
[testenv:pylint]
2019-08-23 15:52:38 +02:00
basepython=python3
2014-08-09 01:19:09 +02:00
deps =
2019-08-23 15:52:38 +02:00
pylint
pylint-django
django-rest-framework
django<2.3
2014-08-09 01:19:09 +02:00
commands =
pylint: ./pylint.sh src/django_gssapi/
[pytest]
filterwarnings =
2019-12-07 11:06:37 +01:00
ignore:.*example backend.*