-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
43 lines (36 loc) · 825 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]
envlist =
py34-django{111,20}
py{35,36,37}-django{111,20,21,22}
lint
dev
prodsettings
toxworkdir = {env:TOX_WORKDIR:.tox}
[testenv]
deps =
-rrequirements_dev.txt
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
whitelist_externals = make
commands = make test
[testenv:lint]
deps =
-rrequirements_dev.txt
whitelist_externals = make
commands = make lint
[testenv:dev]
whitelist_externals = make
commands =
make update
make
make createdb
[testenv:prodsettings]
whitelist_externals = make
setenv =
XORGDATA_APP_MODE = prod
XORGDATA_APP_SECRET_KEY = this is a long key to pass SECRET_KEY length check
XORGDATA_SITE_ALLOWED_HOSTS = 127.0.0.1,::1,localhost
commands =
make checkdeploy