mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
code climate script fix
This commit is contained in:
parent
60d98340d9
commit
3f730f295e
@ -58,7 +58,7 @@ script:
|
|||||||
|
|
||||||
# Pipe the coverage data to Code Climate
|
# Pipe the coverage data to Code Climate
|
||||||
after_script:
|
after_script:
|
||||||
- ./cc-test-reporter format-coverage -t lcov -o client/coverage/codeclimate.client.json client/coverage/lcov.info # Format client coverage
|
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.client.json client/coverage/lcov.info # Format client coverage
|
||||||
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.server.json server/coverage/lcov.info # Format server coverage
|
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.server.json server/coverage/lcov.info # Format server coverage
|
||||||
- ./cc-test-reporter sum-coverage coverage/codeclimate.*.json -p 2 # Sum both coverage parts into coverage/codeclimate.json
|
- ./cc-test-reporter sum-coverage coverage/codeclimate.*.json -p 2 # Sum both coverage parts into coverage/codeclimate.json
|
||||||
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi # Upload coverage/codeclimate.json
|
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi # Upload coverage/codeclimate.json
|
||||||
|
Loading…
Reference in New Issue
Block a user