diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 40def95..a8035d1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,6 +16,14 @@ jobs: - template: node-test.yml@apt parameters: + before: + - script: | + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter + ./cc-test-reporter before-build + displayName: 'Download and Initialize Code Climate Test Reporter' + success_script: cc-test-reporter after-build --exit-code 0 + fail_script: cc-test-reporter after-build --exit-code 1 after: - script: yarn coverage displayName: 'Publish code coverage results (coveralls.io)'