diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2019-03-01 13:15:27 -0800 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2019-03-11 12:54:48 -0700 |
commit | 1fec6df15525d304ace4c32a8f5af439f896c709 (patch) | |
tree | 96d6e2e2f780a3ca5f184e7f22f7ead7cfb074bd /platform | |
parent | 3b7ff9c96fc3257a14614ffbc50a32dac981c64e (diff) | |
download | qtlocation-mapboxgl-1fec6df15525d304ace4c32a8f5af439f896c709.tar.gz |
[ios] Update CI template, modify file name
Diffstat (limited to 'platform')
-rwxr-xr-x | platform/ios/scripts/code-coverage.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/ios/scripts/code-coverage.sh b/platform/ios/scripts/code-coverage.sh index 8e0e07f08d..a2d3894182 100755 --- a/platform/ios/scripts/code-coverage.sh +++ b/platform/ios/scripts/code-coverage.sh @@ -16,11 +16,12 @@ cov=$(printf "%.2f" $(echo "$percentage*100" | bc -l)) # # Create a formatted JSON file with the current coverage. # -cat <<EOF > coverage.JSON +fileName="ios-coverage-$(TZ=UTC date +"%m-%d-%Y-%H%M")" +cat <<EOF > $fileName.JSON { "current-coverage" : $cov } EOF echo $cov - +echo $fileName # Clean up files. rm -rf build/ios/ios/Logs/Test/*.xcresult/ rm -f output.json @@ -31,4 +32,4 @@ rm -f output.json if [ -z `which aws` ]; then brew install awscli fi -aws s3 cp coverage.json s3://mapbox-loading-dock/raw/mobile.coverage/ --acl public-read
\ No newline at end of file +# aws s3 cp coverage.json s3://mapbox-loading-dock/raw/mobile.coverage/ --acl public-read
\ No newline at end of file |