piwik-python-api icon indicating copy to clipboard operation
piwik-python-api copied to clipboard

Use Docker to run tests in Travis

Open PabloCastellano opened this issue 6 years ago • 2 comments

I've implemented a way of using travis and docker to run tests.

It can be simplified more but I wanted to show you this approach to know if it's worth spending more time working on it.

It spins up two Docker containers: one for mysql 8 and another one for matomo 3.5. In the mysql container a dump of the matomo database is copied. In the matomo container a basic configuration file is copied.

The tests are then executed against localhost:8080.

WDYT?

PabloCastellano avatar Jul 25 '18 09:07 PabloCastellano

Is there any active maintainer? @brendoncrawford ?

Tests do not pass but at least now we know why :) https://travis-ci.org/matomo-org/piwik-python-api/jobs/407984974

PabloCastellano avatar Aug 02 '18 16:08 PabloCastellano

Hi @PabloCastellano Unfortunately there currently is not an active maintainer. Would you maybe be interested? See also https://github.com/matomo-org/piwik-python-api/issues/19 And a new PR with ongoing improvements has been opened at https://github.com/matomo-org/piwik-python-api/pull/24 Thanks,

mattab avatar Jun 04 '19 23:06 mattab