continuous integration for ruby on rails
TRANSCRIPT
Continuous Integration for Ruby on RailsDavid PaluyJul 2015
Real testing is hardLet 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 ERDhttp://rails-erd.rubyforge.org/
Generate API doc https://github.com/Apipie/apipie-rails
Integration with Github
Integration
Continuous Integration buildsCONFIDENCE
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