Description
pypi-mobans/templates/travis.yml.jj2
Line 30 in 94454e7
script:
- make test
which depends on a Makefile
that this repo doesnt provide.
yehua
does provide it from https://github.com/moremoban/yehua/blob/master/yehua/resources/static/Makefile
That Makefile
uses bash test.sh
and bash document.sh
.
test.sh
has template https://github.com/moremoban/pypi-mobans/blob/94454e7cd510072851b5fe07ebc6cbabd04ac9d7/templates/test.script.jj2
But document.sh
doesnt have a template in either this repo or yehua .
It does exist at https://github.com/pyexcel/pyexcel/blob/master/document.sh
There is a standard setup.py test
command which would remove the need for test.sh
, perhaps as part of #19
https://gitlab.com/coala/mobans/blob/master/templates/coala-setup.py.jj2 PyTestCommand
is an example, but it is using pytest. Making it work for nose also shouldnt be difficult.
docs generation doesnt have a similar convention afaik.
coala has introduced setup.py docs
, which you can see in our templates BuildDocsCommand
. That could be moved into this setup.py template, with only a bit of improvement as https://github.com/pyexcel/pyexcel/blob/master/document.sh has two invocations of sphinx-autogen
which is something coala
hasnt needed.