SUBSCRIBE

Adding Travis CI support into your plugin #MoodleWorld #MoodleDev

--- Advertisement ---

Connected 2023
Connected Conference OpenLMS

In the latest developer meeting held in October 2015 which we have covered here, Andrew Nicolas discussed about the Travis-CI integration vide Tracker issue – MDL-51458
The tracker issue is raised to make developers aware about the benefits of Travis-CI for developers and how to set things up so that you can use it during your moodle development.
Recently David Mudrak has shared his experience with Travis CI and Poster Module in a Moodle forum thread here. He explained that Travis allows you to continuously run all tests and checks in sandbox environments, with various PHP versions, Moodle versions, databases etc. For open source projects, using Travis is free. For projects hosted on Github, the overall setup is incredibly simple.

Travis CI Integration from Moodle.org
Travis CI Integration from Moodle.org

Technically, adding Travis support to your Moodle plugin is as simple as adding a configuration file .travis.yml into the root directory of your plugin and allowing Travis builds to be triggered on certain events, such as pushing commits to the plugin’s repository at Github.
There is a great tool developed by Mark Nielsen called moodle-plugin-ci that provides a template of the travis configuration file – perfectly documented – as well as excellent usage information.
You can read the full forum thread here – https://moodle.org/mod/forum/discuss.php?d=323384
 

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Dive Deeper On

The Latest

The eLearn Podcast

Connected Conference OpenLMS

--- Advertisement ---

Post Pages - Sidebar 4 - CourseMerchant

--- Advertisement ---

Post Pages - Sidebar 7 - Titus Learning

--- Advertisement ---

Post Pages - Sidebar 5 - Edwiser (RemUI)

Subscribe to our newsletter

Education technology has the power to change lives. 

To get the latest news, information and resources about online learning from around the world by clicking on the button below.