-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
47 lines (42 loc) · 896 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
42
43
44
45
46
47
[tox]
envlist = py{27,34,35}-django{17,18,19,110}, flake8, sphinx, readme
[testenv]
deps =
coverage
django-nose
commands =
pip install -e .
python manage.py test --settings=tests.settings
[testenv:flake8]
basepython = python3.5
deps =
flake8
commands =
flake8 django_zip_stream tests
[testenv:sphinx]
basepython = python3.5
deps =
Sphinx
commands =
pip install -e .
make --directory=docs SPHINXOPTS='-W' clean {posargs:html doctest linkcheck}
whitelist_externals =
make
[testenv:readme]
basepython = python3.5
deps =
docutils
pygments
commands =
mkdir -p var/docs
rst2html.py --exit-status=2 README.rst var/docs/README.html
rst2html.py --exit-status=2 CONTRIBUTING.rst var/docs/CONTRIBUTING.html
whitelist_externals =
mkdir
[testenv:release]
basepython = python3.5
deps =
wheel
zest.releaser
commands =
fullrelease