forked from doableware/djongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
44 lines (33 loc) · 942 Bytes
/
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
# 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, _dev}
[testenv]
basepython =
python3.6
commands =
python tests/precheckin.py
[testenv:django21]
commands =
python tests/precheckin.py
python tests/django_tests/manage_tests/runtests.py --run-currently-passing --django-version=21
[testenv:django_dev]
commands =
python tests/precheckin.py
python tests/django_tests/manage_tests/runtests.py --run-currently-passing --django-version=22
deps =
django21: Django==2.1
django_dev: Django==2.2
[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