Learn how to automatically test your Blender addon code with the online service Travis CI, which is free to use for open source projects.
Ondrej Brinkel writes:
Today I want to introduce you on how to automatically test your blender addon with the very popular continuous integration service Travis.
If you are a Blender addon developer you might have been struggling with automated testing of your addons, just as I did.
Since today I was unable to automatically test my addon, which is hosted on GitHub. However there is a really good continuous integration service called Travis which seamlessly integrates with GitHub. A lot of Open Source projects use Travis to create automatic builds on each push. This increases software quality and trust, as users and developers immediately see if the software is failing tests or not.
Using TravisCI for blender is not very straight forward and required some try and error until I got it working.
This is why I want to share on how you can setup Travis to test your blender addon.
2 Comments
The above link is dead. Try this link instead:
https://anzui.de/en/blog/2015-05-21/
If you need to get the latest Blender version in your Travis CI script, take a look at this python package: https://pypi.org/project/latest-blender-url/