diff --git a/.travis.yml b/.travis.yml index be2e212..aff2789 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,10 @@ language: node_js node_js: - "node" - "lts/*" -install: npm install -script: npm run all \ No newline at end of file + - "8" +script: npm run all +jobs: + include: + - name: "Mutation testing" + node_js: "node" + script: "npm run test:mutation" diff --git a/package.json b/package.json index 69babc3..cbf7f1c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "src/index.js", "typings": "src/index.d.ts", "scripts": { - "all": "npm run clean && npm run build && npm run lint && npm run test && npm run test:mutation", + "all": "npm run clean && npm run build && npm run lint && npm run test", "clean": "rimraf src/**/*.js src/**/*.map src/**/*.d.ts test/**/*.js test/**/*.map test/**/*.d.ts", "build": "tsc -p .", "lint": "tslint -p .", diff --git a/stryker.conf.js b/stryker.conf.js index 2d8a8ae..4d614f2 100644 --- a/stryker.conf.js +++ b/stryker.conf.js @@ -10,7 +10,7 @@ module.exports = function (config) { 'typescript' ], testRunner: "mocha", - reporters: ["html", "progress"], + reporters: ["html", "progress", "dashboard"], testFramework: "mocha", mochaOptions: { spec: ['test/helpers/**/*.js', 'test/unit/**/*.js']