1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/.travis.yml
2018-05-03 22:51:07 +01:00

13 lines
491 B
YAML

sudo: false
language: node_js
node_js:
- "8"
- "6"
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 node-red
script:
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage