forked from python-hospital/hospital
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (50 loc) · 1.03 KB
/
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
48
49
50
51
52
53
54
55
56
[tox]
envlist = py27,py33,py34,flake8,sphinx,readme,healthcheck
[testenv]
deps =
nose
rednose
coverage
pytest
commands =
pip install -e ./
nosetests --config=etc/nose.cfg --with-doctest --with-coverage --cover-package=hospital hospital tests
rm .coverage
pip freeze
whitelist_externals =
rm
[testenv:flake8]
deps =
flake8
commands =
flake8 hospital
[testenv:sphinx]
deps =
Sphinx
commands =
python setup.py install
make --directory=docs SPHINXOPTS='-W' clean html linkcheck
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:healthcheck]
deps =
nose
rednose
commands =
python setup.py install
nosetests --config=etc/nose.cfg --attr="is_healthcheck" hospital
[testenv:release]
deps =
zest.releaser
commands =
fullrelease