language: objective-c

osx_image: xcode7.2

cache:
  directories:
    - node_modules
    - .nvm

before_install:
  - brew update || brew update
  - brew outdated xctool || brew upgrade xctool

install:
  - brew reinstall nvm
  - mkdir -p .nvm
  - export NVM_DIR="$PWD/.nvm"
  - source $(brew --prefix nvm)/nvm.sh
  - nvm install 5
  - rm -Rf "${TMPDIR}/jest_preprocess_cache"
  - npm config set spin=false
  - npm config set progress=false
  - npm install
  - node --version
  - npm --version

script:
- |
  if [ "$TEST_TYPE" = objc ]
  then

    travis_retry ./scripts/objc-test.sh

  elif [ "$TEST_TYPE" = js ]
  then
    npm run flow && npm test
    ./scripts/e2e-test.sh  --packager
  elif [ "$TEST_TYPE" = e2e-objc ]
  then
    ./scripts/e2e-test.sh  --osx
  else
    echo "Unknown test type: $TEST_TYPE"
    exit 1
  fi

env:
  matrix:
    - TEST_TYPE=objc
    - TEST_TYPE=js
  global:
    #- TEST_TYPE=e2e-objc


branches:
  only:
    - master
    - /^.*-stable$/

language: objective-c

osx_image: xcode7.3

cache:
  directories:
    - node_modules
    - .nvm

before_install:
  - brew update || brew update
  - brew outdated xctool || brew upgrade xctool

install:
  - brew reinstall nvm
  - mkdir -p .nvm
  - export NVM_DIR="$PWD/.nvm"
  - source $(brew --prefix nvm)/nvm.sh
  - nvm install 5
  - rm -Rf "${TMPDIR}/jest_preprocess_cache"
  - npm config set spin=false
  - npm config set progress=false
  - npm install
  - node --version
  - npm --version

script:
- |
  if [ "$TEST_TYPE" = objc ]
  then

    travis_retry ./scripts/objc-test.sh

  elif [ "$TEST_TYPE" = js ]
  then
    npm run flow && npm test
    ./scripts/e2e-test.sh  --packager
  elif [ "$TEST_TYPE" = e2e-objc ]
  then
    ./scripts/e2e-test.sh  --osx
  else
    echo "Unknown test type: $TEST_TYPE"
    exit 1
  fi

env:
  matrix:
    - TEST_TYPE=objc
    - TEST_TYPE=js
  global:
    #- TEST_TYPE=e2e-objc


branches:
  only:
    - master
    - /^.*-stable$/

Upgrade CI to xcode 7.3 & osx 10.11.4
Upgrade CI to xcode 7.3 & osx 10.11.4