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
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- node_js: "5"
|
|
|
|
before_install:
|
|
|
|
- npm install -g npm@latest-2
|
2015-03-24 20:42:32 +01:00
|
|
|
node_js:
|
2016-03-01 23:56:19 +01:00
|
|
|
- "5"
|
|
|
|
- "4"
|
2015-07-22 13:14:51 +02:00
|
|
|
- "0.12"
|
2016-03-01 23:56:19 +01:00
|
|
|
- "0.10"
|
2015-03-24 20:42:32 +01:00
|
|
|
before_script:
|
2015-06-30 11:56:06 +02:00
|
|
|
- npm install -g istanbul grunt-cli
|
2015-06-30 10:57:48 +02:00
|
|
|
- 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
|
2015-06-30 14:33:54 +02: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
|