2015-07-22 13:12:30 +01:00
|
|
|
sudo: false
|
2015-03-24 19:42:32 +00:00
|
|
|
language: node_js
|
2016-03-01 22:56:19 +00:00
|
|
|
env:
|
|
|
|
- CXX="g++-4.8"
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
- gcc-4.8
|
2015-03-24 19:42:32 +00:00
|
|
|
node_js:
|
2017-11-06 21:42:21 +00:00
|
|
|
- "8"
|
2017-02-15 18:33:59 +00:00
|
|
|
- "6"
|
2015-03-24 19:42:32 +00:00
|
|
|
before_script:
|
2018-05-01 09:33:05 -07:00
|
|
|
# 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
|
2015-03-24 19:42:32 +00:00
|
|
|
script:
|
2018-05-01 09:33:05 -07:00
|
|
|
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
|