TAG | Continuous Integration
16
Travis CI – Continuous Integration to go
2 Comments · Posted by Christian in The right tool
Yesterday I learned about Travis CI when I read a post by Lukas. I hadn’t heard about it before but just flicking through the documentation and some examples I got hooked.
Apparently it’s amazing.
(more…)
7
A continuous deployment process for symfony plugins
3 Comments · Posted by Christian in The right tool
For a while I’ve been toying with the idea to set up a fully automated continuous deployment process for my symfony plugins. You can think of continuous deployment as a continuous integration process with automated deployment.
I just didn’t come round to do it as I couldn’t find the time so far. But then I read this article by Toni Schneider about CD at wordpress.com and it got me hooked again.
So I thought lets write down what it takes for a start.
Continuous Deployment · Continuous Integration · Hudson · Open Source · Plugin · plugins · symfony · Tests · Unit Tests
24
[Best practice] How to ship PHPUnit configuration
6 Comments · Posted by Christian in The right tool
PHPUnit offers quite a lot options to be set as arguments on the commandline. However this is tedious when typing over and over again.
For this reason you can create an XML configuration file phpunit.xml that will automatically be used by the phpunit binary.
Now you may want to include this configuration file in your projects sourcecode to be used by all participating developers and your continuous integration server. But how?
(more…)
best practice · Continuous Integration · phpUnit · Sebastian Bergmann
23
Setting up Continuous Integration for a symfony plugin using Hudson and Sebastian Bergmanns (PHPUnit) Template for Hudson Jobs for PHP Projects
6 Comments · Posted by Christian in The right tool
I must admit that I have been lazy with my efforts on continuous integration lately. Eventually my server crashed unnoticed and I didn’t get any emails about broken builds anymore and by now I think I’ve stacked up some work to do.
First of course I’ve got to get my CI server up and running again, that’s why I installed Hudson again.
But there is room for improvement too. Sebastian Bergmann of PHPUnit fame spent some time on a template Hudson job for PHP projects that includes much more than PHPUnit. So I decided to use that!
(more…)
Continuous Integration · Git · GitHub · Hudson · PHP · phpUnit · plugins · sfImageTransformExtraPlugin · Subversion · symfony
19
Quick start guide to install Hudson on Gentoo Linux (or any other)
5 Comments · Posted by Christian in The right tool
Lately I was playing around with my old Hudson installation to try and use Sebastian Bergmanns PHP Hudson template. But in the end I only had it halfway working and was increasingly confused by the number of plugins I had installed.
So I decided to make a backup of everything and start from scratch with a fresh install. Only there are no official ebuild for my Gentoo box..
Continuous Integration · Gentoo · Git · GitHub · Hudson · Sebastian Bergmann
7
Wrapping symfonys functional tests in a PHPUnit test case
5 Comments · Posted by Christian in The real job
Yesterday I wrote a lot of functional tests for a symfony plugin that provides and XML web service interface.
Using symfonys functional testing classes this is actually quite easy to do.
But wouldn’t it be cool if you could integrate these tests into your continuous integration service just like PHPUnit tests? Wouldn’t it be cool to be able to generate PHPUnit coverage reports?
Continuous Integration · Functional Tests · lime · phpUnit · plugins · Refactoring · symfony · Test Coverage
5
Continuous Integration: Hudson vs phpUnderControl
14 Comments · Posted by Christian in The right tool
Earlier this year I decided to go with Hudson as my Continuous Integration Server for testing my symfony plugins.
Earlier this week I installed phpUnderControl and wrote about setting up both phpuc and Hudson-CI.
Now what should you use? Here I try to summarise my experience and compare the two. (more…)
Continuous Integration · CruiseControl · Hudson · Integrations Tests · phpUnderControl · Tests · Unit Tests
4
Running PHPUnit tests for your symfony plugin in Hudson
8 Comments · Posted by Christian in The real job
Yesterday I wrote about setting up a symfony plugin project in phpUnderControl. However so far I’ve been using Hudson as my Continuous Integration server. So before comparing the two I will explain how to achieve yesterdays setup using Hudson. (more…)
Clover · Continuous Integration · Hudson · Integrations Tests · phpUnit · Plugin · sfImageTransformExtraPlugin · symfony · Test Coverage · Tests · Unit Tests
3
Running PHPUnit tests for your symfony plugin in phpUnderControl
5 Comments · Posted by Christian in The real job
As I’ve just started to look into phpUnderControl again I thought why not try to setup a project for testing sfImageTransformExtraPlugin running all the PHPUnit tests that I wrote about last week.
So the goal is to setup a phpuc project for a single plugin but with all dependencies (symfony itself) provided. This was a bit tricky so here we go! (more…)
Clover · Continuous Integration · CruiseControl · Integrations Tests · phpUnderControl · phpUnit · Plugin · sfImageTransformExtraPlugin · symfony · Test Coverage · Tests · Unit Tests
29
Setting up phpUnderControl on Gentoo Linux Reloaded
4 Comments · Posted by Christian in The right tool
Those of you following my blog know that I use Hudson as my continuous integration server. You can see the running installation at automat.ical.ly.
Today I decided to give phpUnderControl another shot and I found that the brilliant post by Andries Seutens needs an update.
Continuous Integration · CruiseControl · Gentoo · Hudson · phpUnderControl

