summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-04-28 10:43:55 +0300
committerJuha Alanen <juha.alanen@mapbox.com>2020-04-29 16:05:49 +0300
commit2e4af463aaf926668e3e9ea7b205a07d451719de (patch)
tree1eff09f03ae9051767bb77f961e75a81d6c68b5a
parent4a54da881ff75cc6f034176cb7f249751739e66f (diff)
downloadqtlocation-mapboxgl-2e4af463aaf926668e3e9ea7b205a07d451719de.tar.gz
[build] Upload github statistics
-rw-r--r--circle.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
index af2022222c..f11b35328e 100644
--- a/circle.yml
+++ b/circle.yml
@@ -459,6 +459,12 @@ commands:
if [[ $CIRCLE_BRANCH == master ]]; then
scripts/publish_core_codecoverage.js -p Linux -s Core
fi
+ publish-github-statistics:
+ steps:
+ - run:
+ name: Collect GitHub statistics
+ command: |
+ scripts/publish_github_stats.js
jobs:
ios-render-test-runner:
@@ -700,6 +706,7 @@ jobs:
- prepare
- config:
config_params: '-G Ninja -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8'
+ - publish-github-statistics
- run:
name: Code Generators
command: |
@@ -783,6 +790,9 @@ jobs:
publish_coverage:
type: boolean
default: false
+ publish_github_stats:
+ type: boolean
+ default: false
executor: << parameters.executor_name >>
steps:
- checkout
@@ -840,4 +850,8 @@ jobs:
condition: << parameters.publish_coverage >>
steps:
- publish-coverage-metrics
+ - when:
+ condition: << parameters.publish_github_stats >>
+ steps:
+ - publish-github-statistics
- save