[ci] Add upstream trigger of binary size check. (#217)

This commit is contained in:
Peng Liu
2020-03-05 11:17:42 +02:00
committed by GitHub
parent b976545181
commit 95f0a0bb44

View File

@@ -179,7 +179,7 @@ commands:
export VERSION_TAG=${CIRCLE_TAG}
export GITHUB_TOKEN=${DANGER_GITHUB_API_TOKEN}
export DOCS_REPO="android-docs"
bash scripts/trigger-maps-documentation-deploy-steps.sh
bash scripts/trigger-maps-documentation-deploy-steps.sh
jobs:
# ------------------------------------------------------------------------------
@@ -293,6 +293,14 @@ jobs:
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: Trigger android binary size check
command: |
if [ -n "${MOBILE_METRICS_TOKEN}" ]; then
if [[ $CIRCLE_BRANCH == master ]]; then
curl -u ${MOBILE_METRICS_TOKEN}: -d build_parameters[CIRCLE_JOB]=android-binary-size-hydrogen https://circleci.com/api/v1.1/project/github/mapbox/mobile-metrics/tree/master
fi
fi
- run:
name: Generate Maven credentials
command: |