Functional testing with Juju in Travis-CI
Tim Van Steenburgh
tim.van.steenburgh at canonical.com
Mon Nov 28 19:00:02 UTC 2016
Hi everyone,
Since we're working on an api client, I wanted to be able to run
post-commit tests against a real Juju controller or model, using Travis-CI.
One caveat with Travis-CI is that they don't support xenial vms yet, so you
have to use trusty. If you can live with that, here's a .travis.yml that
will install juju and lxd on trusty, bootstrap a controller, run your
tests, and destroy the controller.
https://github.com/juju/python-libjuju/blob/master/.travis.yml
Hope it proves useful to others!
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20161128/fb947eff/attachment.html>
More information about the Juju
mailing list