Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼

Nick Plante

Dr. Dobb's Bloggers

What CI Tools Do You Use?

October 18, 2008

Recently, we started using RunCodeRun, a new hosted continuous integration (CI) system. If you're not familiar with the concept of CI and automated build tools, Martin Fowler's classic article on the subject is probably the best starting point. Essentially the CI workflow stresses that solid software development practices rely on having a fully automated and instantly reproducible build system, that includes testing, and runs many times a day. Ideally whenever a commit is made to the project mainline.

RunCodeRun is a Ruby-specific CI tool that plugs right into GitHub (which is conveniently where we're already hosting our project code) with almost no configuration. Whenever a commit is made, RCR automatically checks out the latest version of the master branch and aattempts to run the associated test suite. It then optionally notifies our development team with the results. It's still in beta right now (sign up for an invite on the website) and has a few kinks but for the most part it's very nice; the interface is minimalist and simple, just the way I like it.

Having a CI system like this in place is great for a distributed team such as ours, because it can be configured to let them know if someone has unwittingly broken a build (via email, campfire, etc). It also means that any code checked into the mainline is, at any point, building, and that tests are all passing. It's a great litmus test and more than anything, helps to keep developers and rogue commits in line.

I don't always use CI when I work on software development projects, for better or for worse. But when working with a distributed team, particularly on an OSS project where there isn't a well-defined project manager role, it's a huge advantage. RCR is a nice (new) option simply because it's hosted, and therefore it's one less thing your team has to worry about maintaining or spending precious cycles configuring. The tradeoff, of course, is some amount of flexibility.

If you need more flexibility, there are a number of established players in this space that offer that, including some well-loved OSS packages. CruiseControl is probably the most popular of these. There are variants of CruiseControl available for different languages and environments, including a Java, .NET version (CruiseControl.NET) and a Ruby version (CruiseControl.rb), whereas RCR currently only supports Ruby-based projects at the moment.

In any case, I'm certainly glad to see that options like this are becoming easier for casual and, in particular, open source projects. The simpler we can make these tools to use, the more effective and widespread they become. The less time we can spend on painful integration woes, the more we can spend building quality software. I'd love to hear what tools in this vein you are personally using, if anything at all (!).

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.