diff --git a/.jshintrc b/.jshintrc index 4084293c..b16056c8 100644 --- a/.jshintrc +++ b/.jshintrc @@ -11,5 +11,5 @@ "shadow": true, "sub": true, "proto": true, - "esversion": 6 + "esversion": 8 } diff --git a/.travis.yml b/.travis.yml index 9e9ae945..e7d7f89c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,10 @@ matrix: - node_js: 12 - node_js: 10 - node_js: 8 - - python: 2.7 - language: python - before_script: pip install flake8 - script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics + # - python: 2.7 + # language: python + # before_script: pip install flake8 + # script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - python: 3.7 language: python dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069) @@ -23,7 +23,10 @@ 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=html grunt + # - nyc grunt && rm -rf coverage .nyc_output + - nyc grunt && nyc report --reporter=text-lcov | coveralls diff --git a/coverall b/coverall index c4a004f8..2d3f6e21 100755 --- a/coverall +++ b/coverall @@ -1,3 +1,3 @@ # 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 diff --git a/hardware/PiGpio/36-rpi-gpio.html b/hardware/PiGpio/36-rpi-gpio.html index 47f8e4c7..a4a66deb 100644 --- a/hardware/PiGpio/36-rpi-gpio.html +++ b/hardware/PiGpio/36-rpi-gpio.html @@ -70,8 +70,7 @@ @@ -111,6 +112,7 @@
  • msg.count if set this will override the configured number of characters as long as it is less than the number configured.
  • msg.waitfor single character, escape code, or hex code. If set, the node will wait until it matches that character in the stream and then start the output.
  • +
  • Optionally the baudrate can be changed using msg.baudrate
  • Outputs