diff --git a/.travis.yml b/.travis.yml index e71ae40..ed06bb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,5 +5,8 @@ node_js: - "lts/*" install: - npm install + - pip install --user git+https://github.com/moshe/pytest-tomato.git@debug#subdirectory=tomato-lib script: - npm test +after_script: + - tomato eslint.xml diff --git a/package.json b/package.json index 09d2d3a..3e266a8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "eslint ." + "test": "eslint . -f junit > eslint.xml" }, "author": "", "license": "ISC", diff --git a/src/mainGrid.js b/src/mainGrid.js index dbff527..dc7bfb2 100644 --- a/src/mainGrid.js +++ b/src/mainGrid.js @@ -5,7 +5,7 @@ const RegressionLog = require('./components/regressionLog'); class BasicGrid { constructor(options) { - this.start = new Date(); + this.start = new Date() options.points = parseInt(options.points, 10); options.regressionPoints = parseInt(options.regressionPoints, 10); this.options = options;