forked from baojie/smw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (39 loc) · 791 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
[tox]
minversion=1.3
envlist = py26,py27
addopts = --ignore=setup.py --ignore=.tox --ignore=setuptools
[pytest]
rsyncdirs = scripts
rsyncignore = .hg
addopts = -v -v
[testenv:docs]
downloadcache={toxworkdir}/downloadcache
basepython=python
changedir=doc
deps=sphinx
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[tools]
downloadcache={toxworkdir}/downloadcache
testing=
deps=
pytest
pytest-xdist
pytest-cov
[testenv]
downloadcache={toxworkdir}/downloadcache
deps=
pytest
pytest-pep8
pytest-cov
pytest-xdist
commands=
py.test --cov-report xml --cov pysample
#nosetests
[testenv:py26]
downloadcache={toxworkdir}/downloadcache
deps=
{[testenv]deps}
unittest2
commands=
py.test --cov-report xml --cov pysample