forked from jazzband/django-polymorphic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (33 loc) · 808 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
[tox]
envlist =
py27-django{111}
py35-django{111,20}
py36-django{111,20,21,22,master}
py37-django{21,22,master}
docs
[testenv]
setenv =
PYTHONWARNINGS = all
postgres: DEFAULT_DATABASE = postgres:///default
postgres: SECONDARY_DATABASE = postgres:///secondary
deps =
coverage
dj-database-url
django111: Django >= 1.11, < 2.0
django20: Django ~= 2.0
django21: Django ~= 2.1
django22: Django ~= 2.2
djangomaster: https://github.com/django/django/archive/master.tar.gz
postgres: psycopg2
commands =
coverage run --source polymorphic runtests.py
[testenv:docs]
deps =
Sphinx
sphinx_rtd_theme
-r{toxinidir}/docs/_ext/djangodummy/requirements.txt
changedir = docs
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[flake8]
# ignore line size
max-line-length = 300