Php day 20 11 e xo continuousintegration phpPresentation Transcript
Continuous Integration and PHP Improve your development process
OR How to build projects better, faster and cheaper
Why do it? Why do it?
Risk 1: Fixing bugs late is costly
Risk 2: Lack of team cohesion
Risk 3: Poor quality code base
Risk 4: Lack of project visibility
Risk 5: Lack of deployable software
Use Continuous Integration To reduce the risks !
Continuous Integration at a glance
What am I talking about ?
Why CI is so important ?
Didn’t you say better, faster and cheaper ?
Write once , then automated every time !
So what constitutes a build?
Automated test – Quality assurance
Build Automation Apache Ant http://ant.apache.org/ Apache Maven http://www.php-maven.org/ GNU Make http://www.gnu.org/software/make/ Rake (Ruby Make) http://rake.rubyforge.org/ Phing (Phing is not GNU Make) http://phing.info/ Shell scripts
CI for PHP World
CI in Ecosystem
Continuous Integration work flow
How does it look in reality? eXo development system
Source code repository
Review code system
Static Code Analysis
Continuous Integration Server
Deployment & Test system
Continuous Integration can help you build better quality project faster ,with more confidence Start using it !