summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2018-12-18 15:19:57 +0100
committerTobrun <tobrun@mapbox.com>2018-12-18 19:52:59 +0100
commit77ce700274656522a11082d0e379d86f6d13438c (patch)
tree3a52b4ab233659f03d51e614b98f890a2973a6e2
parenta408b2f5d5708e4b9fb7a870b4b58cd96eee9609 (diff)
downloadqtlocation-mapboxgl-77ce700274656522a11082d0e379d86f6d13438c.tar.gz
[android] - invoke benchmark run from circle-ci
-rw-r--r--circle.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
index 7dbf8e4e8b..95bcc8dc78 100644
--- a/circle.yml
+++ b/circle.yml
@@ -636,6 +636,14 @@ jobs:
- run:
name: Record size
command: platform/android/scripts/metrics.sh
+ - run:
+ name: Trigger benchmark run
+ command: |
+ if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
+ if [[ $CIRCLE_BRANCH == master ]]; then
+ curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=build https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
+ fi
+ fi
- deploy:
name: Publish to Maven
command: |