diff options
author | Tobrun <tobrun@mapbox.com> | 2019-01-28 15:24:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-28 15:24:43 +0100 |
commit | 797f3e95993122ab1dccecb92d85b76cc75e88b9 (patch) | |
tree | a21f6db717def4e879d34b26d79f20e95cc5b1d3 | |
parent | 50018b7574cb1e13a8bbeecd359d83d2a54c6b33 (diff) | |
download | qtlocation-mapboxgl-797f3e95993122ab1dccecb92d85b76cc75e88b9.tar.gz |
[android] - prioritise running benchmarks when building master release build (#13801)
-rw-r--r-- | circle.yml | 32 |
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: | |