Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
wordpress-plugins-and-themes-development-with-C...
Search
KamataRyo
July 10, 2016
Technology
2
670
wordpress-plugins-and-themes-development-with-CI-services
WordCamp Kansai 2016
KamataRyo
July 10, 2016
Tweet
Share
More Decks by KamataRyo
See All by KamataRyo
TileCloud の開発を支える技術
kamataryo
2
360
NPX-shell-hacking
kamataryo
0
44
frontend-shikoku#1
kamataryo
1
680
Introducing of Map Warper
kamataryo
0
1.3k
wp-rest-api-and-amazon-polly
kamataryo
0
940
how-to-deploy-from-travis-ci
kamataryo
1
750
IoT with React
kamataryo
1
270
wacker#17-wreact
kamataryo
0
130
wakayamarb#37
kamataryo
1
88
Other Decks in Technology
See All in Technology
「隙間家具OSS」に至る道/Fujiwara Tech Conference 2025
fujiwara3
7
6.5k
RubyでKubernetesプログラミング
sat
PRO
4
160
【NGK2025S】動物園(PINTO_model_zoo)に遊びに行こう
kazuhitotakahashi
0
250
三菱電機で社内コミュニティを立ち上げた話
kurebayashi
1
360
ABWGのRe:Cap!
hm5ug
1
120
Docker Desktop で Docker を始めよう
zembutsu
PRO
0
180
自社 200 記事を元に整理した読みやすいテックブログを書くための Tips 集
masakihirose
2
340
FODにおけるホーム画面編成のレコメンド
watarukudo
PRO
2
280
月間60万ユーザーを抱える 個人開発サービス「Walica」の 技術スタック変遷
miyachin
1
150
AWSマルチアカウント統制環境のすゝめ / 20250115 Mitsutoshi Matsuo
shift_evolve
0
120
Goで実践するBFP
hiroyaterui
1
120
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
240
Featured
See All Featured
It's Worth the Effort
3n
183
28k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Raft: Consensus for Rubyists
vanstee
137
6.7k
A designer walks into a library…
pauljervisheath
205
24k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Navigating Team Friction
lara
183
15k
Thoughts on Productivity
jonyablonski
68
4.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Code Review Best Practice
trishagee
65
17k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Transcript
$*ࢧԉαʔϏε͔Β࢝ΊΔ 8PSE1SFTTϓϥάΠϯɾςʔϚ։ൃ !8PSE$BNQ,BOTBJ2016
ࣗݾհ ,BNBUB3ZP
$*ࢧԉαʔϏε ✖ 8PSE1SFTTϓϥάΠϯɾςʔϚ։ൃ
ςʔϚɾϓϥάΠϯ։ൃͷྲྀΕ ίʔσΟϯά Ϗϧυ ςετ σϓϩΠɾϦϦʔε
ςʔϚɾϓϥάΠϯ։ൃͷྲྀΕ 1)1 +BWB4DSJQU )5.- $44 $PGGFF4DSJQU 4"44 FUD ςετίʔυ ίʔσΟϯά
Ϗϧυ ςετ σϓϩΠɾϦϦʔε
ςʔϚɾϓϥάΠϯ։ൃͷྲྀΕ ґଘϥΠϒϥϦͷΠϯετʔϧ ίʔσΟϯά Ϗϧυ ςετ σϓϩΠɾϦϦʔε $PNQPTFS #PXFS OQN
ςʔϚɾϓϥάΠϯ։ൃͷྲྀΕ ίϯύΠϧɺNJOJGZɺ+BWB4DSJQUɾDTTͷ݁߹ $PGGFF4DSJQU 4"44 FUD ίʔσΟϯά Ϗϧυ ςετ σϓϩΠɾϦϦʔε
ςʔϚɾϓϥάΠϯ։ൃͷྲྀΕ -JOUω⑲ϰ 1)16OJU ,BSNB .PDIB FUD ߏจνΣοΫ Ϣχοτςετ ౷߹ςετ ίʔσΟϯά
Ϗϧυ ςετ σϓϩΠɾϦϦʔε
ςʔϚɾϓϥάΠϯ։ൃͷྲྀΕ 8PSE1SFTTެࣜϦϙδτϦίϛοτ (JIUVCͷϦϦʔεػೳΛ͏ ӡ༻தͷςʔϚɾϓϥάΠϯΛ αʔόʹσϓϩΠ FUD ίʔσΟϯά Ϗϧυ ςετ σϓϩΠɾϦϦʔε
ܧଓ᧣Ωϸϋεϱ⑲μϬϸ BCCS$* ίʔσΟϯά Ϗϧυ ςετ σϓϩΠɾϦϦʔε ͜ΕΒͷϓϩηεΛසൟʹ܁Γฦ͠ޮԽΛਤΔ
ςʔϚɾϓϥάΠϯ։ൃͷྲྀΕ Θͨͨͪ͠ $*ࢧԉαʔϏε ίʔσΟϯά Ϗϧυ ςετ σϓϩΠɾϦϦʔε
$*ࢧԉαʔϏεಋೖͷϝϦοτ ఆܕ࡞ۀͷࣗಈԽʹΑΔলྗԽ ࣗಈςετͷश׳ԽɺϦϦʔεͷࣗ৴ ظͰϦϦʔε͞Εɺڙ༻·ͰͷظؒΛॖ εςʔλεόοδ
$*ࢧԉαʔϏε͕Ԡ͑ΒΕΔधཁͷྫ ެࣜσΟϨΫτϦʹొ͍ͯ͠ΔςʔϚɺϓϥάΠϯͰɺ 4VCWFSTJPOҎ֎ʹ(JUͰόʔδϣϯཧ͍ͨ͠ OQNͳͲͷΤίγεςϜͱ૬ੑ͕Α͍ ϓϩδΣΫτʹ·ͭΘΔ٬؍తͳࢦඪͱͯ͠ FH(JUIVCͰϓϧϦΫΤετΛͨ͘͞Ίɺ$*ͰϏϧυ͕ޭ͍ͯ͠Δ͜ ͱΛϨϏϡʔͷ݅ͱ͢ΔͳͲ
ηοτΞοϓͱ։ൃڥͷಋೖ
5SBWJT$* IUUQTUSBWJTDJPSH
None
൚༻ͷ$*ࢧԉαʔϏε (JUIVCͱ࿈ܞ ެ։ϓϩδΣΫτແྉͰར༻Ͱ͖Δ
5SBWJT$*Λར༻͢Δεςοϓ (JUIVCͱ࿈ܞ͢Δ ઃఆϑΝΠϧUSBWJTZNMΛઃஔ (JUIVCʹϓογϡ
༗ޮԽ͢Δ(JUIVCϦϙδτϦΛબ
USBWJTZNM USBWJTZNMΛϓϥάΠϯɾςʔϚͷϧʔτʹઃஔ͢Δ $ tree -a . ├── .travis.yml ├── gulpfile.js
├── my-plugin.php ├── package.json ├── phpunit.xml ├── readme.txt └── tests └── test-my-plugin.php
USBWJTZNM 5SBWJT$*͕ಈ࡞͢ΔڥΛઃఆ ʢ1)1όʔδϣϯɺґଘϥΠϒϥϦʣ ڥมΛઃఆ ࣮ߦ͢ΔγΣϧεΫϦϓτΛࢦఆ
language: php php: - 5.3 - 5.6 before_script: - npm
run build script: - phpunit after_success: - deploy.sh env: global: - foo: “bar” - secure: “a/QQ7WgztQeINOonHM..” USBWJTZNM Ϗϧυ ςετ σϓϩΠɾϦϦʔε
(JUIVCͷϓογϡʹϑοΫͯ͠ɺ5SBWJT$*ͷϏϧυ͕ൃՐ͢Δ CFGPSF@TDSJQUͱTDSJQU͕FYJUʢਖ਼ৗऴྃʣͳΒޭ BGUFS@TVDDFTT͕ൃՐ ެ։ϓϩδΣΫτͳΒɺϏϧυϩάެ։
QVTI DMPOF ϦϙδτϦ͋Δ͍ ຊ൪ڥͳͲ Ϗϧυ ςετ σϓϩΠɾϦϦʔε ίʔσΟϯά
4UZMF$* IUUQTTUZMFDJJP
None
4UZMF$* 1)1ͷίʔσΟϯάελΠϧΛνΣοΫ (JUIVCͱ࿈ܞ ެ։ϓϩδΣΫτແྉͰར༻Ͱ͖Δ
4UZMF$*Λར༻͢Δεςοϓ εςοϓ (JUIVCͱ࿈ܞ͢Δ ʢઃఆϑΝΠϧTUZMFDJZNMΛઃஔʣ (JUIVCʹίϛοτΛϓογϡ 4UZMF$*
(JUIVCͱ࿈ܞ
ίʔσΟϯάελΠϧͷੳ
TUZMFDJZNM TUZMFDJZNMΛϓϥάΠϯɾςʔϚͷϧʔτʹઃஔ͢Δ $ tree -a . ├── .styleci.yml ├── .travis.yml
├── gulpfile.js ├── my-plugin.php ├── package.json ├── phpunit.xml ├── readme.txt └── tests ├── bootstrap.php └── test-my-plugin.php
risky: false linting: true preset: recommended enabled: - long_array_syntax #array()
disabled: - short_array_syntax #[ ] TUZMFDJZNM ελΠϧʹଟ͘ͷΦϓγϣϯ͕͋Γɺ ༗ޮԽɺແޮԽΛࢦఆͰ͖Δ
νΣοΫ݁Ռ͕ࠩͰදࣔ͞ΕΔ
GithubʹϓϧϦΫΤετΛૹͬͨΓɺ ࣗಈͰϚʔδͨ͠Γ͢Δ͜ͱ͕Ͱ͖Δ
·ͱΊ $*ࢧԉαʔϏεͰͰ͖Δ͜ͱ ൚༻ͷ$*ࢧԉαʔϏεͰγΣϧεΫϦϓτ͕ಈ࡞͢Δ ͜ͱ͕ଟ͍ ڥͷࠩΛٵऩ͠ɺଟ༷ͳ࡞ۀΛ࿈ܞɾࣗಈԽͰ͖Δ Ұํɺ4UZMF$*ͷΑ͏ʹɺಛఆͷαʔϏεʹಛԽ͠ɺ खܰʹಋೖͰ͖ΔαʔϏε͋Δ ։ൃڥᅂʹԠͯ͡બ͢Δ͜ͱ͕Ͱ͖Δ
·ͱΊ 8PSE1SFTTϓϥάΠϯɾςʔϚ։ൃͰ ΦʔϓϯιʔεϓϩδΣΫτͱ૬ੑͷྑ͍ $*ࢧԉαʔϏε͕͋Δ ΦʔϓϯιʔεͷϝϦοτΛΑΓڧௐͰ͖Δ Ϗϧυςετͷϓϩηε͕ΦʔϓϯͰ͋Γɺ ԁͳ͕ٞଅ͞ΕΔ ։ൃͷॳظஈ֊͔Β͜ΕΒͷπʔϧɾαʔϏεΛ ηοτΞοϓ͓ͯ͘͜͠ͱʹେ͖ͳϝϦοτ͕͋Δ