PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Chris Hartjes' Blog: Twitter Asks: Continuous Integration Landscape for PHP Developers

Note: This article was originally published at PHPDeveloper on 9 September 2010.
PHPDeveloper

After asking for topics to blog about on Twitter, Chris Hartjes has posted the first response to the suggestions - a look at continuous integration (CI) in PHP environments.

For those not familiar with the concept of Continuous Integration, I can sum it up with one very glib phrase: it lets you break your code before you buy it. [...] If I were to design a Continuous Integration (hereafter referred to as CI) system, what would it look like?

His requirements include version control integration, easy unit test execution, a web interface and be able to automate it all at a moment's notice. He talks about the importance of unit testing in CI and the tools that are available for the job like phpUnderControl, Xinc and Hudson. He also looks at the build process, from check-in through a successful build result and how he handles bugs when they do pop up.