Chapter 9Using a Continuous Integration Server
Continuous integration (CI) is the process of applying quality control validations to a code base every time it changes. In the case of Twitalytics and most Ruby applications, this means running unit tests after each commit. But it is not enough to rely on developers to run these tests because their local environments may differ from your production environment. Developers do lots of stuff on their computers that can affect a test run, such as installing software and setting environment variables. To ensure the reliability of your tests, you must run them the same way every time. This principle also applies to deployment.
When you deploy from your development machine to production, you run the ...
Get Deploying with JRuby 9k now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.