Преглед на файлове

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.
master
paweldomas преди 7 години
родител
ревизия
9613755055
променени са 2 файла, в които са добавени 3 реда и са изтрити 5 реда
  1. 1
    3
      .travis.yml
  2. 2
    2
      ios/travis-ci/build-ipa.sh

+ 1
- 3
.travis.yml Целия файл

1
 osx_image: xcode9.4
1
 osx_image: xcode9.4
2
 language: objective-c
2
 language: objective-c
3
 script:
3
 script:
4
-- "./ios/travis-ci/build-ipa.sh > build_output.txt"
5
-after_failure:
6
-- "tail -n 500 build_output.txt"
4
+- "./ios/travis-ci/build-ipa.sh"

+ 2
- 2
ios/travis-ci/build-ipa.sh Целия файл

136
 
136
 
137
 mkdir -p /tmp/jitsi-meet/
137
 mkdir -p /tmp/jitsi-meet/
138
 
138
 
139
-xcodebuild archive -workspace ios/jitsi-meet.xcworkspace -scheme jitsi-meet -configuration Release -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive
139
+xcodebuild archive -quiet -workspace ios/jitsi-meet.xcworkspace -scheme jitsi-meet -configuration Release -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive
140
 
140
 
141
 sed -e "s/YOUR_TEAM_ID/${IOS_TEAM_ID}/g" ios/travis-ci/build-ipa.plist.template > ios/travis-ci/build-ipa.plist
141
 sed -e "s/YOUR_TEAM_ID/${IOS_TEAM_ID}/g" ios/travis-ci/build-ipa.plist.template > ios/travis-ci/build-ipa.plist
142
 
142
 
143
 IPA_EXPORT_DIR=/tmp/jitsi-meet/jitsi-meet-ipa
143
 IPA_EXPORT_DIR=/tmp/jitsi-meet/jitsi-meet-ipa
144
 
144
 
145
-xcodebuild -exportArchive -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive -exportPath $IPA_EXPORT_DIR  -exportOptionsPlist ios/travis-ci/build-ipa.plist
145
+xcodebuild -quiet -exportArchive -archivePath /tmp/jitsi-meet/jitsi-meet.xcarchive -exportPath $IPA_EXPORT_DIR  -exportOptionsPlist ios/travis-ci/build-ipa.plist
146
 
146
 
147
 echo "Will try deploy the .ipa to: ${IPA_DEPLOY_LOCATION}"
147
 echo "Will try deploy the .ipa to: ${IPA_DEPLOY_LOCATION}"
148
 
148
 

Loading…
Отказ
Запис