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
Dave Conway-Jones 0d0ce5addf Up Travis testing to v4 for node-red-nodes
And fix some docs
2016-03-01 22:56:19 +00:00

30 lines
711 B
YAML

sudo: false
language: node_js
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
node_js:
- "5"
- "4"
- "0.12"
- "0.10"
before_script:
- npm install -g istanbul grunt-cli
- npm install coveralls
- npm install git+https://github.com/node-red/node-red.git
- export NODE_RED_HOME=`pwd`/node_modules/node-red
- (cd $NODE_RED_HOME ; npm install nock@~0.48.0)
script:
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage