1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

update travis node.js levels

This commit is contained in:
Dave Conway-Jones 2017-02-15 18:33:59 +00:00
parent 8e001fcd45
commit 80942c5da8
3 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,7 @@
"disallowMixedSpacesAndTabs": true,
"disallowMultipleSpaces": {"allowEOLComments": true},
"disallowKeywordsOnNewLine": [],
"requireKeywordsOnNewLine": ["else", "catch"],
//"requireKeywordsOnNewLine": ["else", "catch"],
"requireSpaceBeforeBlockStatements": 1,
//"requireSpaceBeforeObjectValues": false,
//"requireSemicolons": true,

View File

@ -11,14 +11,13 @@ addons:
- gcc-4.8
matrix:
allow_failures:
- node_js: "5"
- node_js: "7"
before_install:
- npm install -g npm@latest-2
node_js:
- "5"
- "7"
- "6"
- "4"
- "0.12"
- "0.10"
before_script:
- npm install -g istanbul grunt-cli
- npm install coveralls

View File

@ -20,7 +20,7 @@ describe('random node', function() {
var flow = [{"id":"n1", "type":"random", "name":"random1", "wires":[[]]}];
helper.load(testNode, flow, function() {
var n1 = helper.getNode("n1");
console.log(n1);
//console.log(n1);
n1.should.have.property("low", 1);
n1.should.have.property("high", 10);
n1.should.have.property("inte", false);