language: objective-c
osx_image: xcode7.3

env:
  matrix:
    - TEST_TYPE=iOS
before_install:
- |
    gem install cocoapods -v '1.0.1'
    gem install xcpretty -N --no-ri --no-rdoc
script:
- |
    set -o pipefail
    xcodebuild clean test -workspace Rocket.Chat.xcworkspace -scheme Rocket.Chat -destination "platform=iOS Simulator,name=iPhone 6 Plus" -enableCodeCoverage YES | xcpretty
after_success:
- |
    bash <(curl -s https://codecov.io/bash)

language: objective-c
osx_image: xcode7.3

env:
  matrix:
    - TEST_TYPE=iOS
before_install:
- |
    gem install cocoapods -v '1.0.1'
    gem install xcpretty -N --no-ri --no-rdoc
    pod repo update
script:
- |
    set -o pipefail
    xcodebuild clean test -workspace Rocket.Chat.xcworkspace -scheme Rocket.Chat -destination "platform=iOS Simulator,name=iPhone 6 Plus" -enableCodeCoverage YES | xcpretty
after_success:
- |
    bash <(curl -s https://codecov.io/bash)

Update Travis with pod repo update script
Update Travis with pod repo update script
