diff options
author | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2019-03-12 13:50:05 +0200 |
---|---|---|
committer | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2019-03-28 14:02:43 +0200 |
commit | bbefcb6d516d1602cf1e254ebe90c63727bdc8d6 (patch) | |
tree | b79d38bf799347845d958b2d2c6171c070bf110c /circle.yml | |
parent | 101cc939dd996150ce7ef6a54ab21533a8507b88 (diff) | |
download | qtlocation-mapboxgl-bbefcb6d516d1602cf1e254ebe90c63727bdc8d6.tar.gz |
[core] Add code coverage metrics for core
Collect code coverage ratio from codecov.io for a
given commit hash, and upload it to the S3 bucket.
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml index 063df5573b..d0446736be 100644 --- a/circle.yml +++ b/circle.yml @@ -875,6 +875,12 @@ jobs: curl -sSfL -o codecov https://codecov.io/bash chmod +x codecov ./codecov -c + - run: + name: Upload coverage metrics to s3 + command: | + if [[ $CIRCLE_BRANCH == master ]]; then + scripts/publish_core_codecoverage.js -p Linux -s Core + fi # ------------------------------------------------------------------------------ linux-doxygen: |