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, "disallowMixedSpacesAndTabs": true,
"disallowMultipleSpaces": {"allowEOLComments": true}, "disallowMultipleSpaces": {"allowEOLComments": true},
"disallowKeywordsOnNewLine": [], "disallowKeywordsOnNewLine": [],
"requireKeywordsOnNewLine": ["else", "catch"], //"requireKeywordsOnNewLine": ["else", "catch"],
"requireSpaceBeforeBlockStatements": 1, "requireSpaceBeforeBlockStatements": 1,
//"requireSpaceBeforeObjectValues": false, //"requireSpaceBeforeObjectValues": false,
//"requireSemicolons": true, //"requireSemicolons": true,

View File

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

View File

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