branches:
  only:
    - master
language: objective-c
os: osx
osx_image: xcode7.1
env:
  global:
    - LC_CTYPE=en_US.UTF-8
    - LANG=en_US.UTF-8
  matrix:
    - TEST_TYPE=ios
    - TEST_TYPE=osx
    - TEST_TYPE=deployment
    - TEST_TYPE=starters
    - TEST_TYPE=podspecs
git:
  submodules: false
before_install:
  - git submodule update --init --recursive
install:
- |
  if [ -n "$TEST_TYPE" ]; then
    bundle install
  fi
script:
- bundle exec rake test:$TEST_TYPE
after_success:
- | 
  if [ "$TEST_TYPE" = "ios" ] || [ "$TEST_TYPE" = "osx" ]; then
    bash <(curl -s https://codecov.io/bash)
  fi

branches:
  only:
    - master
language: objective-c
os: osx
osx_image: xcode7.2
env:
  global:
    - LC_CTYPE=en_US.UTF-8
    - LANG=en_US.UTF-8
  matrix:
    - TEST_TYPE=ios
    - TEST_TYPE=osx
    - TEST_TYPE=deployment
    - TEST_TYPE=starters
    - TEST_TYPE=podspecs
git:
  submodules: false
before_install:
  - git submodule update --init --recursive
install:
- |
  if [ -n "$TEST_TYPE" ]; then
    bundle install
  fi
script:
- bundle exec rake test:$TEST_TYPE
after_success:
- |
  if [ "$TEST_TYPE" = "ios" ] || [ "$TEST_TYPE" = "osx" ]; then
    bash <(curl -s https://codecov.io/bash)
  fi

Use Xcode 7.2 for Travis-CI.
Use Xcode 7.2 for Travis-CI.
