Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CakePHP2+Jenkinsで継続的インテグレーション

 CakePHP2+Jenkinsで継続的インテグレーション

(CakePHPとか)PHPのテストについての勉強会@co-edo

gist
https://gist.github.com/kaz29/5116408

PHP+Jenkinsするなら読んどけ
http://jenkins-php.org/

Kaz Watanabe

March 09, 2013
Tweet

More Decks by Kaz Watanabe

Other Decks in Programming

Transcript

  1. Build Trigger ଞϓϩδΣΫτͷϏϧυޙʹϏϧυ ϦϞʔτ͔ΒϏϧυ (ྫ: εΫϦϓτ͔Β) Build when a change

    is pushed to GitHub SCMΛϙʔϦϯά ఆظతʹ࣮ߦ 13೥3݄9೔౔༵೔
  2. ԿΛ͢Δ͔? lint - จ๏νΣοΫ phploc(*) - ϓϩδΣΫτͷن໛Λଌఆ pdpend (*) -

    ύοέʔδ୯ҐͷϝτϦΫεͷଌఆ(ґଘ౓ͱ͔) phpcb (*) - ιʔείʔυຖͷঢ়ଶΛղੳ phpmd - ੩తղੳ(࣮૷্ͷ໰୊Λݕग़) phpcs - ίʔσΟϯάن໿νΣοΫ phpcpd - ίϐϖίʔυͷݕग़ migration - DBͷϚΠάϨʔγϣϯ(cakedc/Migrations plugin) UnitTest - ୯ମςετ(CakePHP TestCase) StoryTest - डೖΕςετ(sizuhiko/Bdd plugin) 13೥3݄9೔౔༵೔