Add tox support.
This commit is contained in:
parent
d7a135f77f
commit
79bfeced64
4 changed files with 36 additions and 5 deletions
22
tox.ini
Normal file
22
tox.ini
Normal file
|
@ -0,0 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
[tox]
|
||||
envlist = py26, py27
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
coverage
|
||||
fixture
|
||||
mock
|
||||
nose
|
||||
commands = nosetests {posargs}
|
||||
|
||||
[testenv:coverage]
|
||||
basepython = python
|
||||
commands = nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python
|
||||
deps = Sphinx
|
||||
changedir = docs
|
||||
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|
Loading…
Add table
Add a link
Reference in a new issue