summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: |