forked from jazzband/django-simple-history
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
40 lines (32 loc) · 845 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
[tox]
envlist =
py{27,34,35,36,37}-django111,
py{34,35,36,37}-django20,
py{35,36,37}-django21,
py{35,36,37,38}-django22,
py{36,37,38}-django30,
py{36,37,38}-djangotrunk,
docs, flake8
[flake8]
ignore = N802,F401,W503
max-complexity = 10
max-line-length = 88
exclude = __init__.py,simple_history/registry_tests/migration_test_app/migrations/*
[testenv:flake8]
deps = flake8
commands = flake8 simple_history
[testenv:docs]
changedir = docs
deps =
Sphinx
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv]
deps =
coverage
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
djangotrunk: https://github.com/django/django/tarball/master
commands =
coverage run -a --branch setup.py test