summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@gmail.com>2019-03-07 14:34:03 -0500
committerGitHub <noreply@github.com>2019-03-07 14:34:03 -0500
commit9283f3f8df9dc4f9447ce959c961414c5c659d6e (patch)
tree75451715d583d7eef626f684cb0456f1686676e3 /circle.yml
parent86e44bf5d6a6db7faba7204db502f1a73750b2c7 (diff)
downloadqtlocation-mapboxgl-9283f3f8df9dc4f9447ce959c961414c5c659d6e.tar.gz
[ios] Trigger mobile metrics tests (#14061)
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
index d8a2ed8841..09a6be31c9 100644
--- a/circle.yml
+++ b/circle.yml
@@ -969,6 +969,16 @@ jobs:
- run:
name: Record size
command: platform/ios/scripts/metrics.sh
+ - run:
+ name: Trigger metrics
+ command: |
+ if [[ $CIRCLE_BRANCH == master ]]; then
+ if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
+ curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=ios-maps-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
+ else
+ echo "MOBILE_METRICS_TOKEN not provided"
+ fi
+ fi
- save-dependencies
- collect-xcode-build-logs
- upload-xcode-build-logs