2014-05-17 21:58:22 -05:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
[tox]
|
|
|
|
envlist = py26, py27
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
fixture
|
|
|
|
mock
|
|
|
|
nose
|
2014-05-31 00:27:57 -05:00
|
|
|
py-bcrypt
|
2014-09-24 01:19:29 -05:00
|
|
|
commands =
|
|
|
|
pip install rattail
|
|
|
|
nosetests {posargs}
|
2014-05-17 21:58:22 -05:00
|
|
|
|
|
|
|
[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
|