drop xcpretty for tests (#63804)
This commit is contained in:
parent
2b25e29192
commit
d1583fc39b
@ -4,7 +4,6 @@ source 'https://rubygems.org'
|
|||||||
# If fastlane fails with a wrong Google Cloud dependency, bump this version,
|
# If fastlane fails with a wrong Google Cloud dependency, bump this version,
|
||||||
# e.g. https://github.com/flutter/flutter/pull/43362
|
# e.g. https://github.com/flutter/flutter/pull/43362
|
||||||
gem 'fastlane', '2.134.0'
|
gem 'fastlane', '2.134.0'
|
||||||
gem 'xcpretty', '0.3.0'
|
|
||||||
|
|
||||||
# Don't pin cocoapods so we can catch breakages from upstream changes, e.g.
|
# Don't pin cocoapods so we can catch breakages from upstream changes, e.g.
|
||||||
# https://github.com/flutter/flutter/issues/41144
|
# https://github.com/flutter/flutter/issues/41144
|
||||||
|
@ -14,13 +14,9 @@ popd
|
|||||||
pod install
|
pod install
|
||||||
os_version=$(xcrun --show-sdk-version --sdk iphonesimulator)
|
os_version=$(xcrun --show-sdk-version --sdk iphonesimulator)
|
||||||
|
|
||||||
PRETTY="cat"
|
|
||||||
if which xcpretty; then
|
|
||||||
PRETTY="xcpretty"
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -o pipefail && xcodebuild \
|
xcodebuild \
|
||||||
-workspace ios_add2app.xcworkspace \
|
-workspace ios_add2app.xcworkspace \
|
||||||
-scheme ios_add2app \
|
-scheme ios_add2app \
|
||||||
-sdk "iphonesimulator$os_version" \
|
-sdk "iphonesimulator$os_version" \
|
||||||
-destination "OS=$os_version,name=iPhone X" test | $PRETTY
|
-destination "OS=$os_version,name=iPhone X" test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user