forked from gaybro8777/diecutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
50 lines (45 loc) · 830 Bytes
/
tox.ini
File metadata and controls
50 lines (45 loc) · 830 Bytes
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
48
49
50
[tox]
envlist = py27, flake8, sphinx, readme
[testenv]
deps =
nose
rednose
coverage
mock
webtest
commands =
pip install ./
nosetests --config=etc/nose.cfg --config=etc/nose-app.cfg diecutter tests
coverage erase
pip freeze
[testenv:flake8]
deps =
flake8
commands =
flake8 diecutter
[testenv:sphinx]
deps =
nose
rednose
Sphinx
webtest
commands =
pip install ./
make --directory=docs clean html doctest
whitelist_externals =
make
[testenv:readme]
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]
deps =
zest.releaser
commands =
fullrelease