2015-07-22 14:12:30 +02:00
|
|
|
sudo: false
|
2015-03-24 20:42:32 +01:00
|
|
|
language: node_js
|
2016-03-01 23:56:19 +01:00
|
|
|
env:
|
|
|
|
- CXX="g++-4.8"
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
- gcc-4.8
|
2015-03-24 20:42:32 +01:00
|
|
|
node_js:
|
2017-11-06 22:42:21 +01:00
|
|
|
- "8"
|
2017-02-15 19:33:59 +01:00
|
|
|
- "6"
|
2016-03-01 23:56:19 +01:00
|
|
|
- "4"
|
2015-03-24 20:42:32 +01:00
|
|
|
before_script:
|
2017-11-15 11:53:31 +01:00
|
|
|
- npm install -g istanbul grunt-cli
|
|
|
|
- npm install coveralls
|
2015-07-22 13:30:01 +02:00
|
|
|
- npm install git+https://github.com/node-red/node-red.git
|
2015-06-30 10:57:48 +02:00
|
|
|
- export NODE_RED_HOME=`pwd`/node_modules/node-red
|
2017-11-15 11:53:31 +01:00
|
|
|
- (cd $NODE_RED_HOME ; npm install nock@~0.48.0)
|
2015-03-24 20:42:32 +01:00
|
|
|
script:
|
2015-07-22 13:25:34 +02:00
|
|
|
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage
|