Adding Travis CI support into your plugin #MoodleWorld #MoodleDev
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.
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.
You can read the full forum thread here – https://moodle.org/mod/forum/discuss.php?d=323384