Travis: codecov
This commit is contained in:
parent
4e76ef8665
commit
b4a075cc7a
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"testPathIgnorePatterns": ["/src/"]
|
||||
"testPathIgnorePatterns": ["/src/"],
|
||||
"collectCoverageFrom": ["build/**/*.js"]
|
||||
}
|
|
@ -25,4 +25,7 @@ deploy:
|
|||
github_token: $GITHUB_TOKEN
|
||||
local_dir: example/webapp/build
|
||||
on:
|
||||
branch: master
|
||||
branch: master
|
||||
after_success:
|
||||
- npm run test:coverage
|
||||
- codecov
|
|
@ -1,6 +1,7 @@
|
|||
# Redux Bluetooth
|
||||
|
||||
[![Build Status](https://travis-ci.org/jvallelunga/redux-bluetooth.svg?branch=master)](https://travis-ci.org/jvallelunga/redux-bluetooth)
|
||||
[![codecov](https://codecov.io/gh/jvallelunga/redux-bluetooth/branch/master/graph/badge.svg)](https://codecov.io/gh/jvallelunga/redux-bluetooth)
|
||||
|
||||
```shell
|
||||
$ npm install redux-bluetooth
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"prebuild": "npm run eslint",
|
||||
"build": "babel src -d build",
|
||||
"test": "jest --config .jest.json",
|
||||
"test:coverage": "npm test -- --coverage",
|
||||
"test:watch": "npm test -- --watch",
|
||||
"prepublish": "npm run build",
|
||||
"release": "np",
|
||||
|
|
Loading…
Reference in New Issue