add codeclimate

This commit is contained in:
Matthias Kretschmann 2020-04-27 17:05:11 +02:00
parent 4d64b7f41f
commit 9a16afab5f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 9 additions and 1 deletions

View File

@ -5,9 +5,15 @@ node_js: node
cache:
npm: true
# 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'
script:
# will run `npm ci` automatically here
- npm test
# - './cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT'
# - npm run build
notifications:

View File

@ -5,6 +5,8 @@
> 🎣 React hooks & components on top of squid.js
[![Build Status](https://travis-ci.com/oceanprotocol/react.svg?token=3psqw6c8KMDqfdGQ2x6d&branch=master)](https://travis-ci.com/oceanprotocol/react)
[![Maintainability](https://api.codeclimate.com/v1/badges/1e93b2b3e198c3670b50/maintainability)](https://codeclimate.com/repos/5ea6f2fec372a101a1000929/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/1e93b2b3e198c3670b50/test_coverage)](https://codeclimate.com/repos/5ea6f2fec372a101a1000929/test_coverage)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-7b1173.svg?style=flat-square)](https://github.com/prettier/prettier)
[![js oceanprotocol](https://img.shields.io/badge/js-oceanprotocol-7b1173.svg)](https://github.com/oceanprotocol/eslint-config-oceanprotocol)
@ -12,7 +14,7 @@
![iu](https://user-images.githubusercontent.com/90316/80356686-1650c080-887a-11ea-854e-bdc2bbdb0c20.jpeg)
**WE ARE IN HARDWARE MODE. This project is in a conceptual phase and nothing works.**
**WE ARE IN HARDWARE MODE. This project is in a conceptual phase and most stuff does not work yet.**
---