Speaker Deck
Speaker Deck Pro
Sign in
Sign up
for free
TravisCI_for_Gopher
monochromegane
September 25, 2014
Technology
0
93
TravisCI_for_Gopher
Travis CI Meetup in 福岡のLT資料です
http://kiban.doorkeeper.jp/events/15134
monochromegane
September 25, 2014
Tweet
Share
More Decks by monochromegane
See All by monochromegane
monochromegane
0
110
monochromegane
0
330
monochromegane
0
120
monochromegane
0
810
monochromegane
0
3.2k
monochromegane
0
170
monochromegane
0
3.3k
monochromegane
0
3.3k
monochromegane
0
200
Other Decks in Technology
See All in Technology
vkbaba
0
100
satotakeshi
2
410
yosuke_matsuura
PRO
0
3.2k
bufferings
2
2.9k
satoshirobatofujimoto
0
110
ocise
1
1.3k
clustervr
0
190
ama_ch
0
3.3k
am7cinnamon
2
2.6k
smzksts
0
190
asaju7142501
0
250
yuhta28
1
190
Featured
See All Featured
qrush
285
18k
destraynor
146
19k
lemiorhan
626
42k
zakiwarfel
88
3.3k
afnizarnur
176
14k
smashingmag
283
47k
philhawksworth
190
17k
searls
204
35k
deanohume
295
27k
mojombo
358
62k
shpigford
165
19k
chriscoyier
145
19k
Transcript
Travis CI for Gopher Travis CI Meetup in Ԭ @monochromegane
MIYAKE Yusuke (@monochromegane)
GMO Pepabo, Inc.
pt The Platinum Searcher
ൢ͡Ί·ͨ͠
Building a Go Project
GoϓϩμΫτͷΈ
ڥ͕ҧ͏ͷ͕ͨΓલ
• Goͷversion͕ҧ͏ • ։ൃڥͱϏϧυڥ͕ҧ͏ • ࣮ߦڥ͕ҧ͏
Travis CI ʹ͓ئ͍͍ͯ͠·͢ ͦͷล
• Goͷversion͕ҧ͏ • ։ൃڥͱϏϧυڥ͕ҧ͏ • ࣮ߦڥ͕ҧ͏
Go Versions
go: - 1.3 - 1.2.2 - 1.2.1 - 1.2 -
release - tip • ෳͷGoόʔδϣϯΛରʹ͢Δ • `release`λά ࠷৽ͷϦϦʔεόʔδϣϯ (1.3.1) • `tip`λά࠷৽όʔδϣϯ(devel +35193bf04a5b Tue Sep 23 15:34:38 2014 +1000) ※2014/09/24࣌
• Goͷversion͕ҧ͏ • ։ൃڥͱϏϧυڥ͕ҧ͏ • ࣮ߦڥ͕ҧ͏
CGO
env: CGO_ENABLED=0 • CGOΛແޮʹ͢Δ • Travis CI σϑΥϧτͰCGO͕༗ޮ͕ͩɺ͋͑ͯCGOΛແ ޮʹͨ͠ঢ়ଶͰςετΛߦ͓ͬͯ͘ •
֤छCIαʔϏεCGO͕ແޮͳͷͰɺϏϧυ࣌ͷΤϥʔͳͲ ΛࣄલʹݕͰ͖Δ
• Goͷversion͕ҧ͏ • ։ൃڥͱϏϧυڥ͕ҧ͏ • ࣮ߦڥ͕ҧ͏
ΫϩείϯύΠϧͨ͠ՌΛ ֤ڥͰCI͢Δํ๏ ·ཱͩ֬Ͱ͖ͯ·ͤΜ…
Test
script: - go test -v ./... • go get ςετͷલʹউखʹͬͯ͘ΕΔ
• -v ͚͓ͭͯ͘ͱৄࡉͱඪ४ग़ྗ͕ݟΕΔͷͰศར • Build pushes ͱ pull requests ONʹ͓͍ͯͯ͠ɺৗʹશ ύλʔϯͰͷݕূ͕ߦΘΕ͍ͯΔঢ়ଶΛอ͓ͬͯ͘
None
͓·͚
None
None
͓ΘΓ
એ ϖύϘͰΤϯδχΞΛืू͍ͯ͠·͢ɻ ڞʹαʔϏεΛੜΈग़͠ҭͯͯ͘ΕΔ৽͍ؒ͠ Λ͍ͬͯ·͢ɻ ! http://pepabo.com/recruit/career/engineer/