~yerinalexey/pcrond

6c792addcb541cd7b532815feb3ba5b19f50619d — Luca Vercelli 2 years ago b8852ed
travis
2 files changed, 28 insertions(+), 0 deletions(-)

A requirements-dev.txt
A tox.ini
A requirements-dev.txt => requirements-dev.txt +8 -0
@@ 0,0 1,8 @@
docutils==0.13.1
mock==2.0.0
Pygments==2.2.0
pytest-cov==2.5.1
pytest-flake8==0.9.1
pytest==3.2.5
Sphinx==1.6.2


A tox.ini => tox.ini +20 -0
@@ 0,0 1,20 @@
[tox]
envlist = py27, py36, docs

[tox:travis]
2.7.11 = py27
3.5 = py35
3.6 = py36

[testenv]
deps = -rrequirements-dev.txt
commands =
    py.test test_scheduler.py --flake8 scheduler -v --cov schedule --cov-report term-missing
    python setup.py check --strict --metadata --restructuredtext

[testenv:docs]
changedir = docs
deps = -rrequirements-dev.txt
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html