summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2019-01-22 16:50:40 +0100
committertobrun <tobrun.van.nuland@gmail.com>2019-01-22 16:50:40 +0100
commit79a3cb5ded4b6784c310acb35d79ad78bf6c3c41 (patch)
treee3260e51ca260c0407c9e9430a56aa3798194013
parent2639d3b31db2313e525b137b48072935671ab136 (diff)
downloadqtlocation-mapboxgl-upstream/tvn-run-core-benchmark.tar.gz
[core] - trigger core benchmark run as part of merging a PR to masterupstream/tvn-run-core-benchmark
-rw-r--r--circle.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/circle.yml b/circle.yml
index c7f2d32250..08cf3bf2b5 100644
--- a/circle.yml
+++ b/circle.yml
@@ -642,11 +642,19 @@ jobs:
name: Record size
command: platform/android/scripts/metrics.sh
- run:
- name: Trigger benchmark 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]=build https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
+ 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: