2019-09-24 19:02:54 +02:00
|
|
|
[tox]
|
|
|
|
envlist =
|
2021-01-22 22:40:58 +01:00
|
|
|
{py3.6,py3.7,py3.8}-django{2.2,3.1}
|
2019-09-24 19:02:54 +02:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
setenv =
|
|
|
|
PYTHONPATH = {toxinidir}:{toxinidir}/django_cryptolock
|
2021-01-22 22:40:58 +01:00
|
|
|
commands =
|
|
|
|
pytest --cov=django_cryptolock tests/
|
2019-09-24 19:02:54 +02:00
|
|
|
deps =
|
2021-01-22 22:40:58 +01:00
|
|
|
django2.2: django>=2.2,<3.0
|
|
|
|
django3.1: django>=3.1,<3.2
|
2020-01-06 19:40:32 +01:00
|
|
|
-r {toxinidir}/requirements_test.txt
|
2019-09-24 19:02:54 +02:00
|
|
|
basepython =
|
2021-01-22 22:40:58 +01:00
|
|
|
py3.8: python3.8
|
|
|
|
py3.7: python3.7
|
|
|
|
py3.6: python3.6
|