-
Notifications
You must be signed in to change notification settings - Fork 5
/
tox.ini
48 lines (41 loc) · 1.06 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
[tox]
envlist =
py27-django{111}
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
# This seems to be required in order to update tox's virtualenvironments
django20: django-oidc-provider>=0.5.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
python manage.py importaccounts scripts/dev_data.json
python manage.py importauthgroupex scripts/dev_data.json
[testenv:prodsettings]
whitelist_externals = make
setenv =
XORGAUTH_APP_MODE = prod
XORGAUTH_APP_SECRET_KEY = this is a long key to pass SECRET_KEY length check
XORGAUTH_SITE_ALLOWED_HOSTS = 127.0.0.1,::1,localhost
commands =
make checkdeploy