Travis CIが`pod install`で転けるのを直す

.travis.ymlrvm: 1.9.3って書く。以上。

試しにrvm: 2.0.0って書いてみたけど、同じ内容で落ちたから1.9.3がいいんだと思う。

参考

.travis.yml for Ubiregi iPad App

一応エラーでググって出てくるようにpod install以下のログ。

$ pod install

Analyzing dependencies

/Users/travis/.rvm/gems/ruby-2.0.0-p247/gems/xcodeproj-0.14.1/ext/xcodeproj/xcodeproj_ext.bundle: [BUG] Segmentation fault

ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

/Users/travis/build.sh: line 72: 1219 Abort trap: 6 "$@"

The command "pod install" failed. Retrying, 2 of 3.

Analyzing dependencies

/Users/travis/.rvm/gems/ruby-2.0.0-p247/gems/xcodeproj-0.14.1/ext/xcodeproj/xcodeproj_ext.bundle: [BUG] Segmentation fault

ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

/Users/travis/build.sh: line 72: 1275 Abort trap: 6 "$@"

The command "pod install" failed. Retrying, 3 of 3.

Analyzing dependencies

/Users/travis/.rvm/gems/ruby-2.0.0-p247/gems/xcodeproj-0.14.1/ext/xcodeproj/xcodeproj_ext.bundle: [BUG] Segmentation fault

ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

/Users/travis/build.sh: line 72: 1313 Abort trap: 6 "$@"

The command "pod install" failed and exited with 134 during install.\e[0m

Your build has been stopped.

追記2014/03/28 21:14

[https://twitter.com/azu_re/status/449465233363324928:embed#公式: http://t.co/urUxufbOKJ 2.0でもcocoapodsを入れなおすと動く気がする https://t.co/5XSINw3BTC "Travis CIがpod installで転けるのを直す - …" http://t.co/LOuVahnDch]

公式ではこういう案内してるらしい。

Rakefile使ってて、rake setupの中でbundle exec pod installしてるから、こうすることにした。

install: 
  - bundle install
  - rake setup