Continuous Integration in Defold using Travis-CI


If you are like me and create many reusable library components and modules then it probably makes sense to write some unit tests. Perhaps using Telescope (wrapped in the DefTest framework)?

Once you have that up and running the next step should be to automate the testing process, preferably on every commit. This is where systems such as Travis-CI comes in. It’s actually fairly easy to run a headless version of Defold on Travis-CI and have it run through your unit tests. I’ve put the script and documented the steps involved in a GitHub project for anyone to reuse. Enjoy!