Permalink
Browse files

Add destination to e2e xcode build

Summary: Closes #10286

Differential Revision: D3987787

Pulled By: bestander

fbshipit-source-id: fc6295f499bc2d47e52c855080952353568bd7b7
  • Loading branch information...
1 parent 3968e0a commit f0a3a25cd26b4cb4f61422390167c1470b39c54e Ovidiu Viorel Iepure committed with Facebook Github Bot Oct 7, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 scripts/run-ci-e2e-tests.js
View
@@ -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');

0 comments on commit f0a3a25

Please sign in to comment.