Skip to content

Commit 33af7c4

Browse files
authored
Reduce verbosity of xcodebuild output during tests (#703)
Runs `xcodebuild` w/ `-quiet` flag during testing. With this flag, `xcodebuild` will only show warnings and errors. This reduces the Travis CI log from ~4k lines to ~2k lines.
1 parent b3acf13 commit 33af7c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"cover": "nyc jasmine --config=tests/spec/coverage.json",
2525
"e2e-tests": "jasmine tests/spec/create.spec.js",
2626
"objc-tests": "npm run objc-tests-lib && npm run objc-tests-framework",
27-
"objc-tests-lib": "xcodebuild test -workspace tests/cordova-ios.xcworkspace -scheme CordovaLibTests -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
28-
"objc-tests-framework": "xcodebuild test -workspace tests/cordova-ios.xcworkspace -scheme CordovaFrameworkApp -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
27+
"objc-tests-lib": "xcodebuild -quiet test -workspace tests/cordova-ios.xcworkspace -scheme CordovaLibTests -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
28+
"objc-tests-framework": "xcodebuild -quiet test -workspace tests/cordova-ios.xcworkspace -scheme CordovaFrameworkApp -destination \"platform=iOS Simulator,name=iPhone 8\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"",
2929
"preobjc-tests": "tests/scripts/killsim.js",
3030
"unit-tests": "jasmine --config=tests/spec/unit.json",
3131
"eslint": "eslint bin tests"

0 commit comments

Comments
 (0)