ci: switch to nyc.
This commit is contained in:
parent
fc283caf80
commit
2a0a8ad45e
@ -16,7 +16,7 @@ jobs:
|
||||
# fallback to using the latest cache if no exact match is found
|
||||
- v1-dependencies-
|
||||
- run: npm install
|
||||
- run: npm install eslint babel-eslint istanbul@1.1.0-alpha.1 codecov
|
||||
- run: npm install eslint babel-eslint nyc codecov
|
||||
- save_cache:
|
||||
paths:
|
||||
- node_modules
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
"test-browser": "NODE_BACKEND=js bmocha --reporter spec test/*.js",
|
||||
"test-file": "bmocha --reporter spec",
|
||||
"test-file-browser": "NODE_BACKEND=js bmocha --reporter spec",
|
||||
"test-ci": "istanbul cover --report lcovonly node_modules/.bin/bmocha -- --reporter spec test/*-test.js"
|
||||
"test-ci": "nyc -a -n 'lib/**/*.js' --reporter=lcov --reporter=text npm run test"
|
||||
},
|
||||
"browser": {
|
||||
"./lib/hd/nfkd": "./lib/hd/nfkd-compat.js",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user