piwik-python-api
piwik-python-api copied to clipboard
Use Docker to run tests in Travis
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?
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
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,