Continuous Integration
for Ruby on Rails
David Paluy
Jul 2015
Real testing is hard
Let computers do the simple testing
Smart humans for smart testing
Agenda
● CI overview for Rails
● Artifacts
● Integration
● From CI to Continuous Deployment
Continuous Integration (CI)
CI - is a Development practice that requires
developers to integrate code into a shared
repository several times a day. Each check-in is
then verified by an automated build, allowing
teams to detect problems early.
CI for Rails
Artifacts
● Code Coverage
● Static Code analysis
● Documentation
Code Coverage - SimpleCov
Static Code Analysis
CodeClimate - Analysis SaaS
Self hosted - https://github.
com/codeclimate/codeclimate
Documentation
Rails ERD
http://rails-erd.rubyforge.org/
Generate API doc https://github.
com/Apipie/apipie-rails
Integration with Github
Integration
Continuous Integration builds
CONFIDENCE
Continuous Deployment
Continuous Deployment is part of the
continuous delivery ‘movement’.
The idea behind continuous delivery is to
automate the software delivery process as far
as possible.
Continuous Deployment
● Fast Feedback
● Confidence
● Predictability - Running the same script
Continuous Integration
Continuous integration for Ruby on Rails

Continuous integration for Ruby on Rails