forked from FactoryBoy/factory_boy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
63 lines (52 loc) · 1.17 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
59
60
61
62
63
[tox]
minversion = 1.9
envlist =
lint
py{27,35,36,37}-django111-alchemy-mongoengine,
py{35,36,37}-django21-alchemy-mongoengine,
py{35,36,37}-django22-alchemy-mongoengine,
pypy-django{111}-alchemy-mongoengine,
pypy3-django{111,21,22}-alchemy-mongoengine,
docs
examples
linkcheck
toxworkdir = {env:TOX_WORKDIR:.tox}
[testenv]
deps =
-rrequirements_test.txt
django111: Django>=1.11,<1.12
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
django{111,21,22}: Pillow
alchemy: SQLAlchemy
mongoengine: mongoengine
whitelist_externals = make
commands = make test
[testenv:docs]
basepython = python3.7
deps =
-rrequirements_docs.txt
skip_install = true
whitelist_externals = make
commands = make doc
[testenv:examples]
basepython = python3.7
deps =
-rrequirements_test.txt
-rexamples/requirements.txt
whitelist_externals = make
commands = make example-test
[testenv:linkcheck]
deps =
-rrequirements_docs.txt
skip_install = true
whitelist_externals = make
commands = make linkcheck
[testenv:lint]
deps =
flake8
isort
check_manifest
skip_install = true
whitelist_externals = make
commands = make lint