forked from AwareShell/djongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (40 loc) · 1.29 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# tox (https://tox.readthedocs.io/) 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]
envlist =
py{36,38}-django{21, _stable}
[testenv]
commands_pre =
pip install tblib
python tests/precheckin.py
[testenv:django21]
commands =
python tests/django_tests/manage_tests/runtests.py --check-currently-passing --django-version=21
deps =
Django==2.1
[testenv:py38-django_stable]
commands =
python tests/django_tests/runtests.py --check-currently-passing --django-version=22 --v 2 --parallel=2
deps =
Django>=2.2,<2.3
[testenv:py38-django30]
deps =
Django>=3.0,<3.1
[testenv:django22_discover]
commands =
python tests/django_tests/manage_tests/runtests.py --discover-passing --django-version=22 -v 2
deps =
Django==2.2
[testenv:django22_run_test]
commands =
python tests/django_tests/manage_tests/runtests.py --django-version=22 --failfast \
--run-specific=migrations.test_operations.OperationTests.test_rename_model
deps =
Django==2.2
[testenv:django21_discover]
commands =
python tests/django_tests/manage_tests/runtests.py --discover-passing --django-version=21 --failfast
deps =
Django==2.1