forked from jazzband/django-simple-history
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (30 loc) · 734 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
[tox]
envlist =
py{26,27}-django14,
py{26,27,32,33}-django16,
py{27,32,33,34}-django17,
py{27,32,33,34}-django18,
py{27,32,33,34}-djangotrunk,
docs, flake8
[flake8]
ignore = N802
max-complexity = 10
exclude = __init__.py
[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
py26: unittest2
django14: Django>=1.4,<1.5
django16: Django>=1.6,<1.7
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
djangotrunk: https://github.com/django/django/tarball/master
commands = coverage run -a --branch setup.py test