Skip to content

.travis.yml.jj2 requires a Makefile #31

Closed
@jayvdb

Description

@jayvdb

uses

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions