Skip to content

Sample app in repo's travis build fails #81

@nam20485

Description

@nam20485

The travis configuration we added to this repo functions for the sample app, prior to generating a quickstart app and forking, as well as after for the generated and forked quickstart apps. It functions successfully for the generated app, but the travis build for the sample app does not complete successfully. This is due to the fact that there is not a DB that the sample app can connect to for the test.sh portion of the travis build. (Quickstart-generated apps for backend repos will necessarily their own DB to connect to so this is only an issue for the sample app).

Also, the sample does not depend on any specific models or schema existing in the database it connects to, so a blank postgres DB would probably suffice.

We need to decide what the procedure is for running test.sh -p during the travis build, specifically how the python manage.py test command is going to work, and more specifically, what DB it will connect to. There are a couple options I see off the top of my head:

1.) Change production testing to use a different DB like sqlite
2.) Create a live instance of a DB that the sample app can use.

What are your all thoughts here?

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