forked from doableware/djongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
59 lines (43 loc) · 1.21 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
51
52
53
54
55
56
57
58
# 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 =
django{21, _stable}
[testenv]
basepython =
python3.6
commands_pre =
pip install tblib
python tests/precheckin.py
[testenv:django21]
commands =
python tests/django_tests/manage_tests/runtests.py --run-currently-passing --django-version=21
deps =
Django==2.1
[testenv:django_stable]
commands =
python tests/django_tests/manage_tests/runtests.py --run-currently-passing --django-version=22
deps =
Django==2.2
[testenv:django_discover22]
commands =
python tests/django_tests/manage_tests/runtests.py --discover-passing --django-version=22 --failfast
deps =
Django==2.2
[testenv:django_discover21]
commands =
python tests/django_tests/manage_tests/runtests.py --discover-passing --django-version=21 --failfast
deps =
Django==2.1
[testenv:docs]
deps =
sphinx
whitelist_externals = git
passenv = HOME
commands =
python docs/_build.py
git add .
git commit -am 'Updated docs'
git push origin master