33 lines
741 B
YAML
33 lines
741 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: "7"
|
|
node_js:
|
|
- "8"
|
|
- "7"
|
|
- "6"
|
|
- "4"
|
|
before_script:
|
|
- npm install istanbul
|
|
- 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 coveralls)
|
|
- export
|
|
- which grunt
|
|
- grunt --version
|
|
- pwd
|
|
- ls -lart node_modules/
|
|
- ls -lart node_modules/.bin
|
|
script:
|
|
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage
|