Skip to content

Commit

Permalink
Add destination to e2e xcode build
Browse files Browse the repository at this point in the history
Summary: Closes #10286

Differential Revision: D3987787

Pulled By: bestander

fbshipit-source-id: fc6295f499bc2d47e52c855080952353568bd7b7
  • Loading branch information
Ovidiu Viorel Iepure authored and Facebook Github Bot committed Oct 7, 2016
1 parent 3968e0a commit f0a3a25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: objective-c

osx_image: xcode7.3
osx_image: xcode8

install:
- mkdir -p /Users/travis/build/facebook/.nvm
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-ci-e2e-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit f0a3a25

Please sign in to comment.