Book Image

Redmine Plugin Extension and Development

By : Alex Bevilacqua
Book Image

Redmine Plugin Extension and Development

By: Alex Bevilacqua

Overview of this book

Table of Contents (16 chapters)
Redmine Plugin Extension and Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Continuous integration with Travis


Travis CI (https://travis-ci.org/) is a hosted continuous integration service for the open source community. It is integrated with GitHub and offers first class support for a number of languages, including Ruby.

Travis is generally meant to run tests against a standalone application, but since we're building plugins for Redmine, we'll need a bit of help in order to bootstrap the process.

Using the samples from https://github.com/alexbevi/redmine_plugins_travis-ci, we can configure our plugin to be tested against the latest version of Redmine.

In order to actually integrate our plugin with Travis, the sample files we downloaded from the repository we just mentioned needs to be added to our plugin's root folder, checked into our Git repository, and pushed to GitHub.

More information on the configuration of Travis CI Redmine helpers can be found at https://github.com/alexbevi/redmine_plugins_travis-ci/blob/master/README.md.

With the basic tests that we've written...