2015-07-22 14:12:30 +02:00
|
|
|
sudo: false
|
2015-03-24 20:42:32 +01:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-02-15 19:33:59 +01:00
|
|
|
- "6"
|
2018-08-15 14:22:24 +02:00
|
|
|
- "8"
|
|
|
|
- "10"
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- node_js: 10
|
2015-03-24 20:42:32 +01:00
|
|
|
before_script:
|
2018-05-01 18:33:05 +02:00
|
|
|
# Remove the './node_modules/.bin:' entry, see https://github.com/travis-ci/travis-ci/issues/8813
|
2018-08-15 14:37:28 +02:00
|
|
|
- npm i -g npm
|
2018-05-01 18:33:05 +02:00
|
|
|
- export PATH=`echo ${PATH} | sed -re 's,(^|:)(./)?node_modules/.bin($|:),\1,'`
|
|
|
|
- npm install -g istanbul grunt-cli coveralls
|
|
|
|
- npm install node-red
|
2015-03-24 20:42:32 +01:00
|
|
|
script:
|
2018-05-01 18:33:05 +02:00
|
|
|
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
|