continuous integration php

38
www.exoplatform.com Copyright 2011 eXo Platform Continuous Integration and PHP Improve your development process

Upload: lai-hieu

Post on 08-May-2015

1.435 views

Category:

Technology


2 download

DESCRIPTION

PHP Day 2011

TRANSCRIPT

Page 1: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration and PHP

Improve your development process

Page 2: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

OR

How to build projects better, faster and

cheaper

Page 3: Continuous integration php

3www.exoplatform.com

Copyright 2011 eXo Platform

Page 4: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

Why

do it?

Why do it?

Page 5: Continuous integration php

5www.exoplatform.com

Copyright 2011 eXo Platform

Page 6: Continuous integration php

6www.exoplatform.com

Copyright 2011 eXo Platform

Risk 1: Fixing bugs late is costly

Page 7: Continuous integration php

7www.exoplatform.com

Copyright 2011 eXo Platform

Page 8: Continuous integration php

8www.exoplatform.com

Copyright 2011 eXo Platform

Risk 2: Lack of team cohesion

Page 9: Continuous integration php

9www.exoplatform.com

Copyright 2011 eXo Platform

Risk 3: Poor quality code base

Page 10: Continuous integration php

10www.exoplatform.com

Copyright 2011 eXo Platform

Risk 4: Lack of project visibility

Page 11: Continuous integration php

11www.exoplatform.com

Copyright 2011 eXo Platform

Risk 5: Lack of deployable software

Page 12: Continuous integration php

12www.exoplatform.com

Copyright 2011 eXo Platform

Use Continuous Integration

To reduce the risks !

Page 13: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integrationat a glance

Page 14: Continuous integration php

14www.exoplatform.com

Copyright 2011 eXo Platform

What am I talking about ?

Page 15: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

Why CI is so important ?

Page 16: Continuous integration php

16www.exoplatform.com

Copyright 2011 eXo Platform

Didn’t you say better, faster and cheaper ?

Page 17: Continuous integration php

17www.exoplatform.com

Copyright 2011 eXo Platform

Write once, then automated every time !

Page 18: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

So what constitutes a build?

Page 19: Continuous integration php

19www.exoplatform.com

Copyright 2011 eXo Platform

Build Ingredients

Page 20: Continuous integration php

20www.exoplatform.com

Copyright 2011 eXo Platform

Automated test – Quality assurance

Page 21: Continuous integration php

21www.exoplatform.com

Copyright 2011 eXo Platform

Build Automation

Apache Anthttp://ant.apache.org/

Apache Mavenhttp://www.php-maven.org/

GNU Makehttp://www.gnu.org/software/make/

Rake (Ruby Make)http://rake.rubyforge.org/

Phing (Phing is not GNU Make)http://phing.info/

Shell scripts

Page 22: Continuous integration php

22www.exoplatform.com

Copyright 2011 eXo Platform

Apache Ant

Page 23: Continuous integration php

23www.exoplatform.com

Copyright 2011 eXo Platform

Page 24: Continuous integration php

24www.exoplatform.com

Copyright 2011 eXo Platform

Page 25: Continuous integration php

25www.exoplatform.com

Copyright 2011 eXo Platform

Page 26: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

CI for PHP World

Page 27: Continuous integration php

27www.exoplatform.com

Copyright 2011 eXo Platform

Page 28: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

CI in Ecosystem

Page 29: Continuous integration php

29www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration work flow

Page 30: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

How does it look in reality?

eXo development system

Page 31: Continuous integration php

31www.exoplatform.com

Copyright 2011 eXo Platform

Source code repository

Page 32: Continuous integration php

32www.exoplatform.com

Copyright 2011 eXo Platform

Review code system

Page 33: Continuous integration php

33www.exoplatform.com

Copyright 2011 eXo Platform

Static Code Analysis

Page 34: Continuous integration php

34www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration Server

Page 35: Continuous integration php

35www.exoplatform.com

Copyright 2011 eXo Platform

Email notifications

Page 36: Continuous integration php

36www.exoplatform.com

Copyright 2011 eXo Platform

Deployment & Test system

Page 37: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration

can help you build better quality project faster,with more confidence

Start using it !

Page 38: Continuous integration php

www.exoplatform.com

Copyright 2011 eXo Platform

Thank you!