|
|
|
@ -22,9 +22,13 @@ jobs:
|
|
|
|
|
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: ./cc-test-reporter after-build --exit-code 0
|
|
|
|
|
displayName: 'Publish succeeded code coverage results (codeclimate.com)'
|
|
|
|
|
condition: succeeded()
|
|
|
|
|
- script: ./cc-test-reporter after-build --exit-code 1
|
|
|
|
|
displayName: 'Publish failed code coverage results (codeclimate.com)'
|
|
|
|
|
condition: failed()
|
|
|
|
|
- script: yarn coverage
|
|
|
|
|
displayName: 'Publish code coverage results (coveralls.io)'
|
|
|
|
|
env:
|
|
|
|
|