I'm a freelance developer and have recently set up source control and automated builds (CI and nightly) for a software development team at a client which did not previously use these techniques.
Whilst they are now using the source control (albeit somewhat begrudgingly), I just don't seem able to get them bought into the concept of continuous integration. The builds are broken most of the time, and the developers express surprise when it comes time to release and they can't integrate their work.
Short of extending the build process such that failures deliver mild electric shocks to their mice and keyboards, how can I persuade the team of the benefits of keeping the builds succeeding?
Update - incidentally, the builds aren't very complex - just compiling the combined code. I had hoped to include unit testing, static analysis, etc, but have had to temper my plans.