[android] - invoke benchmark run from circle-ci

This commit is contained in:
tobrun
2018-12-18 15:19:57 +01:00
committed by Tobrun
parent a408b2f5d5
commit 77ce700274

View File

@@ -636,6 +636,14 @@ jobs:
- run:
name: Record size
command: platform/android/scripts/metrics.sh
- run:
name: Trigger 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
fi
fi
- deploy:
name: Publish to Maven
command: |