mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
try nyc instead of instanbul
This commit is contained in:
parent
6f351943cb
commit
43f7326c12
@ -23,7 +23,9 @@ before_install:
|
|||||||
before_script:
|
before_script:
|
||||||
# Remove the './node_modules/.bin:' entry, see https://github.com/travis-ci/travis-ci/issues/8813
|
# Remove the './node_modules/.bin:' entry, see https://github.com/travis-ci/travis-ci/issues/8813
|
||||||
- export PATH=`echo ${PATH} | sed -re 's,(^|:)(./)?node_modules/.bin($|:),\1,'`
|
- export PATH=`echo ${PATH} | sed -re 's,(^|:)(./)?node_modules/.bin($|:),\1,'`
|
||||||
- npm install -g istanbul grunt-cli coveralls
|
- npm install -g nyc grunt-cli coveralls
|
||||||
- npm install node-red
|
- npm install node-red
|
||||||
script:
|
script:
|
||||||
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
|
# - istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
|
||||||
|
# - nyc --check-coverage --reporter=text --reporter=lcovonly --reporter=text grunt && rm -rf coverage
|
||||||
|
- nyc grunt && rm -rf coverage .nyc_output
|
2
coverall
2
coverall
@ -1,3 +1,3 @@
|
|||||||
# check coverage of tests... and browse report
|
# check coverage of tests... and browse report
|
||||||
istanbul cover ./node_modules/.bin/grunt --report lcovonly && istanbul report html
|
nyc --check-coverage --reporter=html grunt
|
||||||
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome coverage/index.html
|
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome coverage/index.html
|
||||||
|
Loading…
Reference in New Issue
Block a user