mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
remove codacy
This commit is contained in:
parent
4ddd607499
commit
b7408a3c9b
@ -42,7 +42,6 @@ env:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- npm install -g npm
|
- npm install -g npm
|
||||||
- npm install -g codacy-coverage
|
|
||||||
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
|
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
|
||||||
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
|
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
|
||||||
- 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
|
||||||
@ -62,7 +61,6 @@ script:
|
|||||||
- npm run lint || travis_terminate 1
|
- npm run lint || travis_terminate 1
|
||||||
- ./scripts/keeper.sh
|
- ./scripts/keeper.sh
|
||||||
- ./scripts/test.sh
|
- ./scripts/test.sh
|
||||||
- ./scripts/coverage.sh
|
|
||||||
# Pipe the coverage data to Code Climate
|
# Pipe the coverage data to Code Climate
|
||||||
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.client.json client/coverage/lcov.info
|
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.client.json client/coverage/lcov.info
|
||||||
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.server.json server/coverage/lcov.info
|
- ./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.server.json server/coverage/lcov.info
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
> https://commons.oceanprotocol.com
|
> https://commons.oceanprotocol.com
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.com/oceanprotocol/commons.svg?branch=master)](https://travis-ci.com/oceanprotocol/commons)
|
[![Build Status](https://travis-ci.com/oceanprotocol/commons.svg?branch=master)](https://travis-ci.com/oceanprotocol/commons)
|
||||||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/6a19987e62344b1c9c1d5bc9f315c733)](https://www.codacy.com/app/ocean-protocol/commons)
|
|
||||||
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/6a19987e62344b1c9c1d5bc9f315c733)](https://www.codacy.com/app/ocean-protocol/commons)
|
|
||||||
[![Maintainability](https://api.codeclimate.com/v1/badges/ed6e8212a8d294b6aa88/maintainability)](https://codeclimate.com/github/oceanprotocol/commons/maintainability)
|
[![Maintainability](https://api.codeclimate.com/v1/badges/ed6e8212a8d294b6aa88/maintainability)](https://codeclimate.com/github/oceanprotocol/commons/maintainability)
|
||||||
[![Test Coverage](https://api.codeclimate.com/v1/badges/ed6e8212a8d294b6aa88/test_coverage)](https://codeclimate.com/github/oceanprotocol/commons/test_coverage)
|
[![Test Coverage](https://api.codeclimate.com/v1/badges/ed6e8212a8d294b6aa88/test_coverage)](https://codeclimate.com/github/oceanprotocol/commons/test_coverage)
|
||||||
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-7b1173.svg?style=flat-square)](https://github.com/prettier/prettier)
|
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-7b1173.svg?style=flat-square)](https://github.com/prettier/prettier)
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
"test": "react-scripts test --coverage --watchAll=false --silent",
|
"test": "react-scripts test --coverage --watchAll=false --silent",
|
||||||
"test:watch": "react-scripts test --coverage",
|
"test:watch": "react-scripts test --coverage",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"coverage": "cat coverage/lcov.info | codacy-coverage --token 8801f827fe1144ffa85cd7da94f2bbf7",
|
|
||||||
"analyze": "source-map-explorer 'build/static/js/*.js'"
|
"analyze": "source-map-explorer 'build/static/js/*.js'"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
#/usr/bin/env/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
components="server client"
|
|
||||||
|
|
||||||
for component in $components
|
|
||||||
do
|
|
||||||
printf "\n\nReporting coverage: $component\n"
|
|
||||||
cd $component
|
|
||||||
npm run coverage
|
|
||||||
cd ..
|
|
||||||
done
|
|
@ -9,8 +9,7 @@
|
|||||||
"serve": "node dist/src/server.js",
|
"serve": "node dist/src/server.js",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "jest --coverage --silent",
|
"test": "jest --coverage --silent",
|
||||||
"test:watch": "jest --coverage --watch",
|
"test:watch": "jest --coverage --watch"
|
||||||
"coverage": "cat coverage/lcov.info | codacy-coverage --token 8801f827fe1144ffa85cd7da94f2bbf7"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sendgrid/mail": "^7.1.1",
|
"@sendgrid/mail": "^7.1.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user