aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-09-25 17:04:02 +0100
committerGitHub <noreply@github.com>2018-09-25 17:04:02 +0100
commit4e92a47bb4891973340f8199d5b1895635fd7b45 (patch)
tree66526182a8bc854ee700b6a3b168e9bd9c50c257 /.circleci/config.yml
parentb50a8429cf54f51d734edc79d2e56120da378648 (diff)
parent6373ec4b816d4c9c995b6b9c597d56d456e66cd2 (diff)
downloadrspamd-4e92a47bb4891973340f8199d5b1895635fd7b45.tar.gz
rspamd-4e92a47bb4891973340f8199d5b1895635fd7b45.zip
Merge pull request #2529 from negram/coverage-after-builds
[Minor] collect coverage when all tests are over
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml20
1 files changed, 14 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 1ac0e01e5..390934e1a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -85,9 +85,6 @@ jobs:
key: coverage-{{ .Environment.CIRCLE_WORKFLOW_ID }}
paths:
- coverage.rspamd-test.info
- - *restore_coverage_data
-
- - *merge_and_upload_coverage_data
- run: (exit $RETURN_CODE)
@@ -118,9 +115,6 @@ jobs:
key: coverage-{{ .Environment.CIRCLE_WORKFLOW_ID }}
paths:
- coverage.functional.info
- - *restore_coverage_data
-
- - *merge_and_upload_coverage_data
- store_artifacts:
path: output.xml
@@ -152,6 +146,16 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}
- run: ./node_modules/.bin/eslint -v && ./node_modules/.bin/eslint ./
+ send-coverage:
+ <<: *defaults
+ steps:
+ - *restore_coverage_data
+ - *merge_and_upload_coverage_data
+
+notify:
+ webhooks:
+ - url: https://coveralls.io/webhook?repo_token={{ .Environment.COVERALLS_REPO_TOKEN }}
+
workflows:
version: 2
build-and-test:
@@ -164,3 +168,7 @@ workflows:
- functional:
requires:
- build
+ - send-coverage:
+ requires:
+ - rspamd-test
+ - functional