From 961375505560ffea2df4142583a81afa125a4392 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Mon, 24 Sep 2018 11:11:35 -0500 Subject: [PATCH] fix(Travis/iOS): use '-quiet' with 'xcodebuild' commands This reduces 'xcodebuild' verbosity and fixed problem with exceeding 4MB of logs size imposed by Travis CI. --- .travis.yml | 4 +--- ios/travis-ci/build-ipa.sh | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c301dde8a..ef7659e7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,4 @@ osx_image: xcode9.4 language: objective-c script: -- "./ios/travis-ci/build-ipa.sh > build_output.txt" -after_failure: -- "tail -n 500 build_output.txt" +- "./ios/travis-ci/build-ipa.sh" diff --git a/ios/travis-ci/build-ipa.sh b/ios/travis-ci/build-ipa.sh index 20e05964a..65b6f676e 100755 --- a/ios/travis-ci/build-ipa.sh +++ b/ios/travis-ci/build-ipa.sh @@ -136,13 +136,13 @@ cd .. mkdir -p /tmp/jitsi-meet/ -xcodebuild archive -workspace ios/jitsi-meet.xcworkspace -scheme jitsi-meet -configuration Release -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive +xcodebuild archive -quiet -workspace ios/jitsi-meet.xcworkspace -scheme jitsi-meet -configuration Release -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive sed -e "s/YOUR_TEAM_ID/${IOS_TEAM_ID}/g" ios/travis-ci/build-ipa.plist.template > ios/travis-ci/build-ipa.plist IPA_EXPORT_DIR=/tmp/jitsi-meet/jitsi-meet-ipa -xcodebuild -exportArchive -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive -exportPath $IPA_EXPORT_DIR -exportOptionsPlist ios/travis-ci/build-ipa.plist +xcodebuild -quiet -exportArchive -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive -exportPath $IPA_EXPORT_DIR -exportOptionsPlist ios/travis-ci/build-ipa.plist echo "Will try deploy the .ipa to: ${IPA_DEPLOY_LOCATION}"