Opened 2 months ago

#5574 new enhancement

Travis CI for MediaGoblin

Reported by: anongoblin Owned by:
Priority: minor Milestone:
Component: programming Keywords:
Cc: Parent Tickets:


[This is Michael Lynch ( Boris suggested I post here under the anon account as new registrations on the issue tracker seem to be down and the mailing list is not accepting new messages]

I'm interested in contributing to MediaGoblin.

Its test suite is very impressive, so I tried to run the tests and ran into some issues with finding the correct dependencies. One good way to solve this would be to have a continuous integration (CI) service that establishes a "known-good" configuration for running tests.

There was discussion a few years ago about setting up CI, but it doesn't look like it ever went through:

I spent a few hours setting up MediaGoblin on Travis and got it to successfully execute the tests, but it skips 12 out of 183:

If I force the tests to run, the skipped tests fail:

A few questions:

  • Are all tests currently in a good state? (i.e. should I expect to see all 183 tests pass?)
  • If so, what dependencies am I missing? I tried installing every apt package in the HackingHowTo but the tests still fail.
  • Is there interest in setting up official CI for MediaGoblin? There are many free options available, but it would require the project to move (or at least officially mirror) to more modern git hosting (Github, BitBucket, Gitlab, etc).

Here are all my changes:

The most relevant files are my Dockerfile to set up the test environment:

and my Travis configuration:


Change History (0)

Note: See TracTickets for help on using tickets.