forked from makinacorpus/django-safedelete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (34 loc) · 821 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]
skipsdist = True
envlist =
{py27}-django-{111}
{py34}-django-{111}
{py35}-django-{111,20,21}
{py36}-django-{111,20,21}
{py37}-django-{21}
{py27,py35}-flake8
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
deps =
coverage>=3,<4
py27: mock
flake8: flake8>=2.0,<3.0
django: coveralls
django-111: Django>=1.11,<2.0
django-20: Django>=2.0,<2.1
django-21: Django>=2.1,<2.2
commands =
flake8: flake8 safedelete --ignore=E501
django: coverage run --parallel-mode {toxinidir}/runtests.py {posargs}
django: - coveralls
[testenv:docs]
basepython = python
changedir = docs
deps =
sphinx
sphinx_rtd_theme
Django>=1.11,<2.0
commands =
sphinx-build -W -b html -d build/doctrees . build/html