language: ruby
rvm:
  - 1.9.3
before_script:
  - brew update
  - brew upgrade xctool
before_install:
 - gem install cocoapods
 - pod setup

language: ruby
rvm:
  - 1.9.3
before_install:
 - brew install apple-gcc42
 - gem install cocoapods
 - pod setup

Add installing apple-gcc42 in before_insatll
Add installing apple-gcc42 in before_insatll
