Browse Source

Pipelines: Move CC scripts to after hook

master
Futago-za Ryuu 3 years ago
parent
commit
06f782d397
  1. 8
      azure-pipelines.yml

8
azure-pipelines.yml

@ -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:

Loading…
Cancel
Save