Pipelines: Move CC scripts to after hook

master
Futago-za Ryuu 6 years ago
parent e72e85bc1d
commit 06f782d397

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