summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2019-01-25 14:45:32 +0100
committertobrun <tobrun.van.nuland@gmail.com>2019-01-25 14:45:32 +0100
commit56d777a24b1839d673c5d62147236de2bc90d4ff (patch)
tree1a65969c26f4a2e3613f6d8155bee79b91d8981c
parent8fedfbf160ab7228c5a51d1f6d4586b1ea54bac3 (diff)
downloadqtlocation-mapboxgl-upstream/tvn-prio-benchmarks.tar.gz
[android] - prioritise running benchmarks when building master release buildupstream/tvn-prio-benchmarks
-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: |