CI: fix watchman install errors and update ios simulators to version 11.2

Summary:
Fixes watchman install errors.

Check that iphone 5s is booted properly on circle. Check brew install watchman succeeds.

[CI] - Fix ios version on circleci and fixes brew install watchman error
Closes https://github.com/facebook/react-native/pull/19166

Differential Revision: D7899295

Pulled By: hramos

fbshipit-source-id: 2260a2675879cf97fb0b2f11139d9bb84ce7444e
This commit is contained in:
Chirag Jain 2018-05-07 14:24:32 -07:00 committed by Facebook Github Bot
parent 4d99daaa91
commit 15f8d7013c
1 changed files with 30 additions and 26 deletions

View File

@ -390,7 +390,9 @@ jobs:
- attach_workspace:
at: ~/react-native
- run: xcrun instruments -w "iPhone 5s (11.1)" || true
- run: xcrun instruments -w "iPhone 5s (11.2)" || true
# See https://github.com/Homebrew/homebrew-core/issues/26358.
- run: brew upgrade python > /dev/null
- run: brew install watchman
- run: *run-objc-ios-tests
@ -404,7 +406,9 @@ jobs:
- attach_workspace:
at: ~/react-native
- run: xcrun instruments -w "Apple TV 1080p (11.1)" || true
- run: xcrun instruments -w "Apple TV 1080p (11.2)" || true
# See https://github.com/Homebrew/homebrew-core/issues/26358.
- run: brew upgrade python > /dev/null
- run: brew install watchman
- run: *run-objc-tvos-tests
@ -418,7 +422,7 @@ jobs:
- attach_workspace:
at: ~/react-native
- run: xcrun instruments -w "iPhone 5s (11.1)" || true
- run: xcrun instruments -w "iPhone 5s (11.2)" || true
- run: *run-objc-ios-e2e-tests
- store_test_results: