7. #1 Play Nethack
language: ruby
NetHack, Copyright 1985-2003
rvm: 1.9.3
By Stichting Mathematisch Centrum
before_script:
and M. Stephenson.
- sudo apt-get install nethack-console
See license for details.
script:
- PATH=$PATH:/usr/games nethack
Shall I pick a character's race, role, gender
and alignment for you? [ynq]
8. #1 Play Nethack
language: ruby
NetHack, Copyright 1985-2003
rvm: 1.9.3
By Stichting Mathematisch Centrum
before_script:
and M. Stephenson.
- sudo apt-get install nethack-console
See license for details.
script:
- PATH=$PATH:/usr/games nethack
Shall I pick a character's race, role, gender
and alignment for you? [ynq] Timeout
12. #3 Play Minecraft
Executing your script (java -cp
minecraft.jar net.minecraft.LauncherFrame)
took longer than 30 minutes and was
terminated. Timeout
13. #4 Build Timeouts
• http://about.travis-ci.org/docs/user/build-
configuration/#Build-Timeouts
“Exact timeout values vary between project
types but in general are between 10 and 15
minutes for test suite runs and between 5
and 10 minutes for before scripts and so
on.
14. Inspire from JEG2
JEG2
• Ten Things You Didn't Know Rails Could
Do
• Ten Things You Didn't Know Ruby Could
Do
15. #0 Who am I
name: Murahashi Sanemat Kenichi
env:
- COMPANY=zynga DOMAIN=game
PRODUCT=cityville, words with friends
- COMPANY=mr taddy DOMAIN=e-
commerce PRODUCT=oh my glasses
16. #0 Tracks
#1 Play Nethack, #2 Play Nethack!, #3 Play Minecraft, #4 Build Timeouts, #5 BUG:
Detect wrong commit, #6 Sous Chef, #7 32bit Ubuntu, #8 All in One, #9 Quick
Feedback, #10 Freenode, #11 Mailing List, #12 Role Model: qa@it, #13 Role
Models: soryu, #14 Only MAJOR MINOR TEENY, #15 Bundler Version, #16 For
Capybara, #17 Reduce Call Rake, #18 RAILS_ENV, #19 rake spec vs rspec, #20 rake
spec options, #21 rake cucumber options, #22 rspec Format Document, #23 rake
COMMAND --trace, #24 Current My Best, #25 bundler_args, --without, #26
capistrano/bundler, #27 Gemfile Group, #28 Remove Unnecessary Gems, #29 Not
therubyracer, But nodejs, #30 Use :ci Group?, #31 Actual Each Tests, #32 Use Travis-
pro (era of closed beta), #33 Use Travis-pro public beta, #34 Travis-Pro price?, #35
Updating is worthful
25. #0 Tracks
#1 Play Nethack, #2 Play Nethack!, #3 Play Minecraft, #4 Build Timeouts, #5 BUG:
Detect wrong commit, #6 Sous Chef, #7 32bit Ubuntu, #8 All in One, #9 Quick
Feedback, #10 Freenode, #11 Mailing List, #12 Role Model: qa@it, #13 Role
Models: soryu, #14 Only MAJOR MINOR TEENY, #15 Bundler Version, #16 For
Capybara, #17 Reduce Call Rake, #18 RAILS_ENV, #19 rake spec vs rspec, #20 rake
spec options, #21 rake cucumber options, #22 rspec Format Document, #23 rake
COMMAND --trace, #24 Current My Best, #25 bundler_args, --without, #26
capistrano/bundler, #27 Gemfile Group, #28 Remove Unnecessary Gems, #29 Not
therubyracer, But nodejs, #30 Use :ci Group?, #31 Actual Each Tests, #32 Use Travis-
pro (era of closed beta), #33 Use Travis-pro public beta, #34 Travis-Pro price?, #35
Updating is worthful
26. #5 BUG: Detect wrong
commit
• Travis-CI detects wrong trigger? Github
send wrong hook? - Stack Overflow
• Two problems:
• Wrong detect as master commit, and
sometimes fail
• Wrong detect spend actual build time
27. #5 BUG: Detect wrong
commit
• Travis-CI detects wrong trigger? Github
send wrong hook? - Stack Overflow
• Two problems:
• Wrong detect as master commit, and
sometimes fail
• Wrong detect spend actual build time
28. #6 Sous Chef
• Sous Chef (michaelklishin/sous-chef)
• Build your own travis sandbox
• $ gem install vagrant --version ">= 1.0"
$ hub clone michaelklishin/sous-chef
$ cd sous-chef
$ cp Vagrantfile.sample Vagrantfile
$ vagrant up
29. #6 Sous Chef
• Sous Chef (michaelklishin/sous-chef)
• Build your own travis sandbox
• $ gem install vagrant --version ">= 1.0"
$ hub clone michaelklishin/sous-chef
$ cd sous-chef
$ cp Vagrantfile.sample Vagrantfile
$ vagrant up
40. #0 Tracks
#1 Play Nethack, #2 Play Nethack!, #3 Play Minecraft, #4 Build Timeouts, #5 BUG:
Detect wrong commit, #6 Sous Chef, #7 32bit Ubuntu, #8 All in One, #9 Quick
Feedback, #10 Freenode, #11 Mailing List, #12 Role Model: qa@it, #13 Role
Models: soryu, #14 Only MAJOR MINOR TEENY, #15 Bundler Version, #16 For
Capybara, #17 Reduce Call Rake, #18 RAILS_ENV, #19 rake spec vs rspec, #20 rake
spec options, #21 rake cucumber options, #22 rspec Format Document, #23 rake
COMMAND --trace, #24 Current My Best, #25 bundler_args, --without, #26
capistrano/bundler, #27 Gemfile Group, #28 Remove Unnecessary Gems, #29 Not
therubyracer, But nodejs, #30 Use :ci Group?, #31 Actual Each Tests, #32 Use Travis-
pro (era of closed beta), #33 Use Travis-pro public beta, #34 Travis-Pro price?, #35
Updating is worthful
47. #0 Tracks
#1 Play Nethack, #2 Play Nethack!, #3 Play Minecraft, #4 Build Timeouts, #5 BUG:
Detect wrong commit, #6 Sous Chef, #7 32bit Ubuntu, #8 All in One, #9 Quick
Feedback, #10 Freenode, #11 Mailing List, #12 Role Model: qa@it, #13 Role
Models: soryu, #14 Only MAJOR MINOR TEENY, #15 Bundler Version, #16 For
Capybara, #17 Reduce Call Rake, #18 RAILS_ENV, #19 rake spec vs rspec, #20 rake
spec options, #21 rake cucumber options, #22 rspec Format Document, #23 rake
COMMAND --trace, #24 Current My Best, #25 bundler_args, --without, #26
capistrano/bundler, #27 Gemfile Group, #28 Remove Unnecessary Gems, #29 Not
therubyracer, But nodejs, #30 Use :ci Group?, #31 Actual Each Tests, #32 Use Travis-
pro (era of closed beta), #33 Use Travis-pro public beta, #34 Travis-Pro price?, #35
Updating is worthful
71. #0 Tracks
#1 Play Nethack, #2 Play Nethack!, #3 Play Minecraft, #4 Build Timeouts, #5 BUG:
Detect wrong commit, #6 Sous Chef, #7 32bit Ubuntu, #8 All in One, #9 Quick
Feedback, #10 Freenode, #11 Mailing List, #12 Role Model: qa@it, #13 Role
Models: soryu, #14 Only MAJOR MINOR TEENY, #15 Bundler Version, #16 For
Capybara, #17 Reduce Call Rake, #18 RAILS_ENV, #19 rake spec vs rspec, #20 rake
spec options, #21 rake cucumber options, #22 rspec Format Document, #23 rake
COMMAND --trace, #24 Current My Best, #25 bundler_args, --without, #26
capistrano/bundler, #27 Gemfile Group, #28 Remove Unnecessary Gems, #29 Not
therubyracer, But nodejs, #30 Use :ci Group?, #31 Actual Each Tests, #32 Use Travis-
pro (era of closed beta), #33 Use Travis-pro public beta, #34 Travis-Pro price?, #35
Updating is worthful
72. #25 bundler_args, --
without
bundler_args:
--deployment --without development
production
73. #25 bundler_args, --
without
bundler_args:
--deployment --without development
production
82. #30 Use :ci Group?
Use debugger, pry-
rails in test
environment, but
these are
unnecessary in travis
environment
group :ci
83. #30 Use :ci Group?
Use debugger, pry- bundler-args:
rails in test - without
environment, but development
these are production test
unnecessary in travis
environment capistrano
:set, :without:
group :ci [:development,
:test, :ci]
84. #31 Actual Each Tests
Small toy app
depends on spin-up
time, but actual
mostly spends each
tests.
85. #31 Actual Each Tests
Small toy app
database cleaner,
depends on spin-up
fixture, fixture
time, but actual
replacement, mock,
mostly spends each
stub, ...
tests.
87. #0 Tracks
#1 Play Nethack, #2 Play Nethack!, #3 Play Minecraft, #4 Build Timeouts, #5 BUG:
Detect wrong commit, #6 Sous Chef, #7 32bit Ubuntu, #8 All in One, #9 Quick
Feedback, #10 Freenode, #11 Mailing List, #12 Role Model: qa@it, #13 Role
Models: soryu, #14 Only MAJOR MINOR TEENY, #15 Bundler Version, #16 For
Capybara, #17 Reduce Call Rake, #18 RAILS_ENV, #19 rake spec vs rspec, #20 rake
spec options, #21 rake cucumber options, #22 rspec Format Document, #23 rake
COMMAND --trace, #24 Current My Best, #25 bundler_args, --without, #26
capistrano/bundler, #27 Gemfile Group, #28 Remove Unnecessary Gems, #29 Not
therubyracer, But nodejs, #30 Use :ci Group?, #31 Actual Each Tests, #32 Use Travis-
pro (era of closed beta), #33 Use Travis-pro public beta, #34 Travis-Pro price?, #35
Updating is worthful
92. #34 Travis-Pro price?
Travis CI: The Travis Plans
small plan is $129 per
month, and our big
plan is $249 per
month
93. #35 Updating is
worthful
Automatical update causes
pain Temporarily, but this
bring happy, I think.
94. #0 Tracks
#1 Play Nethack, #2 Play Nethack!, #3 Play Minecraft, #4 Build Timeouts, #5 BUG:
Detect wrong commit, #6 Sous Chef, #7 32bit Ubuntu, #8 All in One, #9 Quick
Feedback, #10 Freenode, #11 Mailing List, #12 Role Model: qa@it, #13 Role
Models: soryu, #14 Only MAJOR MINOR TEENY, #15 Bundler Version, #16 For
Capybara, #17 Reduce Call Rake, #18 RAILS_ENV, #19 rake spec vs rspec, #20 rake
spec options, #21 rake cucumber options, #22 rspec Format Document, #23 rake
COMMAND --trace, #24 Current My Best, #25 bundler_args, --without, #26
capistrano/bundler, #27 Gemfile Group, #28 Remove Unnecessary Gems, #29 Not
therubyracer, But nodejs, #30 Use :ci Group?, #31 Actual Each Tests, #32 Use Travis-
pro (era of closed beta), #33 Use Travis-pro public beta, #34 Travis-Pro price?, #35
Updating is worthful