浏览代码

better test commands

Daniel Zlotin 7 年前
父节点
当前提交
f65ad903c7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      playground/scripts/unit.ios.js

+ 2
- 2
playground/scripts/unit.ios.js 查看文件

@@ -22,14 +22,14 @@ function testProject() {
22 22
   shellUtils.exec.execSync(`echo 'travis_fold:start:xcodeunit'`);
23 23
   runWithXcprettyIfPossible(`RCT_NO_LAUNCH_PACKAGER=true
24 24
           cd ios && xcodebuild
25
-            build
25
+            build build-for-testing
26 26
             -scheme "playground"
27 27
             -project playground.xcodeproj
28 28
             -sdk iphonesimulator
29 29
             -configuration Debug`);
30 30
   runWithXcprettyIfPossible(`RCT_NO_LAUNCH_PACKAGER=true
31 31
           cd ios && xcodebuild
32
-            test
32
+            test-without-building
33 33
             -scheme "playground"
34 34
             -project playground.xcodeproj
35 35
             -destination 'platform=iOS Simulator,name=iPhone 7'`);