Browse Source

better test commands

Daniel Zlotin 7 years ago
parent
commit
f65ad903c7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      playground/scripts/unit.ios.js

+ 2
- 2
playground/scripts/unit.ios.js View File

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