summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--circle.yml32
1 files changed, 16 insertions, 16 deletions
diff --git a/circle.yml b/circle.yml
index 08cf3bf2b5..473739d58b 100644
--- a/circle.yml
+++ b/circle.yml
@@ -597,6 +597,22 @@ jobs:
steps:
- install-dependencies: { gradle: true }
- run:
+ name: Trigger core benchmark run
+ command: |
+ if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
+ if [[ $CIRCLE_BRANCH == master ]]; then
+ curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=core-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
+ fi
+ fi
+ - run:
+ name: Trigger android benchmark run
+ command: |
+ if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
+ if [[ $CIRCLE_BRANCH == master ]]; then
+ curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=android-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
+ fi
+ fi
+ - run:
name: Generate Maven credentials
command: |
if [ -n "${PUBLISH_NEXUS_USERNAME}" ]; then
@@ -641,22 +657,6 @@ jobs:
- run:
name: Record size
command: platform/android/scripts/metrics.sh
- - run:
- name: Trigger core benchmark run
- command: |
- if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
- if [[ $CIRCLE_BRANCH == master ]]; then
- curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=core-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
- fi
- fi
- - run:
- name: Trigger android benchmark run
- command: |
- if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
- if [[ $CIRCLE_BRANCH == master ]]; then
- curl -u $MOBILE_METRICS_TOKEN -d build_parameters[CIRCLE_JOB]=android-benchmark https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
- fi
- fi
- deploy:
name: Publish to Maven
command: |