Skip to content

Commit 43f7326

Browse files
author
Dave Conway-Jones
committed
try nyc instead of instanbul
1 parent 6f35194 commit 43f7326

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ before_install:
2323
before_script:
2424
# Remove the './node_modules/.bin:' entry, see https://github.com/travis-ci/travis-ci/issues/8813
2525
- export PATH=`echo ${PATH} | sed -re 's,(^|:)(./)?node_modules/.bin($|:),\1,'`
26-
- npm install -g istanbul grunt-cli coveralls
26+
- npm install -g nyc grunt-cli coveralls
2727
- npm install node-red
2828
script:
29-
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
29+
# - istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
30+
# - nyc --check-coverage --reporter=text --reporter=lcovonly --reporter=text grunt && rm -rf coverage
31+
- nyc grunt && rm -rf coverage .nyc_output

coverall

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# check coverage of tests... and browse report
2-
istanbul cover ./node_modules/.bin/grunt --report lcovonly && istanbul report html
2+
nyc --check-coverage --reporter=html grunt
33
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome coverage/index.html

0 commit comments

Comments
 (0)