1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

SETUP move code to src

This way we can ensure that the packaged code is tested.
See https://hynek.me/articles/testing-packaging/ or c62a78c015

+ DOC adapt doc to new structure and test doc with travis
This commit is contained in:
Patrick Kanzler
2016-06-20 16:41:46 +02:00
parent e8e91eba80
commit 87438f9efa
13 changed files with 32 additions and 7 deletions

View File

@@ -1,8 +1,15 @@
[tox]
envlist = py27, py34, py35
envlist = py27, py34, py35, docs
[testenv]
deps = nose
coverage
scripttest
commands = nosetests --with-coverage --cover-erase --cover-branches
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx
setuptools_scm
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html