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:
|
||||
# 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,'`
|
||||
- npm install -g istanbul grunt-cli coveralls
|
||||
- npm install -g nyc grunt-cli coveralls
|
||||
- npm install node-red
|
||||
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
|
Loading…
Reference in New Issue
Block a user