mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
add code climate coverage reporting
This commit is contained in:
parent
e009733c7e
commit
73c7624873
@ -38,6 +38,9 @@ before_install:
|
|||||||
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
||||||
|
|
||||||
before_script:
|
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
|
||||||
- git clone https://github.com/oceanprotocol/barge
|
- git clone https://github.com/oceanprotocol/barge
|
||||||
- cd barge
|
- cd barge
|
||||||
- bash -x start_ocean.sh --no-pleuston 2>&1 > start_ocean.log &
|
- bash -x start_ocean.sh --no-pleuston 2>&1 > start_ocean.log &
|
||||||
@ -53,6 +56,9 @@ script:
|
|||||||
- npm run test:e2e || travis_terminate 1
|
- npm run test:e2e || travis_terminate 1
|
||||||
- ./scripts/build.sh
|
- ./scripts/build.sh
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
[](https://travis-ci.com/oceanprotocol/commons)
|
[](https://travis-ci.com/oceanprotocol/commons)
|
||||||
[](https://www.codacy.com/app/ocean-protocol/commons)
|
[](https://www.codacy.com/app/ocean-protocol/commons)
|
||||||
[](https://www.codacy.com/app/ocean-protocol/commons)
|
[](https://www.codacy.com/app/ocean-protocol/commons)
|
||||||
|
[](https://codeclimate.com/github/oceanprotocol/commons/maintainability)
|
||||||
|
[](https://codeclimate.com/github/oceanprotocol/commons/test_coverage)
|
||||||
[](https://github.com/prettier/prettier)
|
[](https://github.com/prettier/prettier)
|
||||||
[](https://github.com/oceanprotocol/eslint-config-oceanprotocol)
|
[](https://github.com/oceanprotocol/eslint-config-oceanprotocol)
|
||||||
[](https://github.com/bigchaindb/stylelint-config-bigchaindb)
|
[](https://github.com/bigchaindb/stylelint-config-bigchaindb)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user