Add destination to e2e xcode build
Summary: Closes https://github.com/facebook/react-native/pull/10286 Differential Revision: D3987787 Pulled By: bestander fbshipit-source-id: fc6295f499bc2d47e52c855080952353568bd7b7
This commit is contained in:
parent
3968e0ac45
commit
f0a3a25cd2
|
@ -1,6 +1,6 @@
|
|||
language: objective-c
|
||||
|
||||
osx_image: xcode7.3
|
||||
osx_image: xcode8
|
||||
|
||||
install:
|
||||
- mkdir -p /Users/travis/build/facebook/.nvm
|
||||
|
|
|
@ -172,7 +172,7 @@ try {
|
|||
if (tryExecNTimes(
|
||||
() => {
|
||||
exec('sleep 10s');
|
||||
return exec('xcodebuild -scheme EndToEndTest -sdk iphonesimulator test | xcpretty && exit ${PIPESTATUS[0]}').code;
|
||||
return exec('xcodebuild -destination "platform=iOS Simulator,name=iPhone 5s,OS=10.0" -scheme EndToEndTest -sdk iphonesimulator test | xcpretty && exit ${PIPESTATUS[0]}').code;
|
||||
},
|
||||
numberOfRetries)) {
|
||||
echo('Failed to run iOS e2e tests');
|
||||
|
|
Loading…
Reference in New Issue