forked from APSL/puput
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (34 loc) · 973 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
[tox]
envlist = py{35,36,37,38}-dj{20,21,22}, flake8
[flake8]
max-line-length = 120
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
commands =
django-admin collectstatic --noinput --settings=tests.testapp.settings
django-admin migrate --noinput --settings=tests.testapp.settings
gunicorn tests.testapp.wsgi -b :8000 -D
pytest --splinter-webdriver=remote --splinter-remote-url=http://localhost:4444/wd/hub --site-url=http://172.17.0.1:8000
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
deps =
selenium==3.3
splinter==0.7.5
pytest==3.0.3
pytest-splinter==1.7.6
django-el-pagination>=3.2.4
django-social-share>=1.3.0
django-colorful>=1.3
tapioca-disqus==0.1.2
gunicorn==19.6.0
dj20: Django==2.0.9
dj21: Django>=2.1
dj22: Django>=2.2,<3.0
[testenv:flake8]
basepython = python3.7
deps = flake8==3.0.4
commands = flake8 puput tests --exclude=migrations