summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-03-01 12:01:21 -0800
committerjmkiley <jordan.kiley@mapbox.com>2019-03-11 12:54:48 -0700
commit3b7ff9c96fc3257a14614ffbc50a32dac981c64e (patch)
tree16631860c8dc527433174e0301afdbdecfbb3010
parente9db69f9c8a117e83809c9f633d9550a00da0da4 (diff)
downloadqtlocation-mapboxgl-3b7ff9c96fc3257a14614ffbc50a32dac981c64e.tar.gz
[ios] install aws
-rwxr-xr-xplatform/ios/scripts/code-coverage.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/ios/scripts/code-coverage.sh b/platform/ios/scripts/code-coverage.sh
index c842341bde..8e0e07f08d 100755
--- a/platform/ios/scripts/code-coverage.sh
+++ b/platform/ios/scripts/code-coverage.sh
@@ -2,7 +2,6 @@
set -e
set -o pipefail
-set -u
# Get code coverage, then convert it to JSON.
cov_result=build/ios/Logs/Test/*.xcresult/*_Test/*.xccovreport
@@ -29,5 +28,7 @@ rm -f output.json
#
# upload to AWS
#
-
+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