Updated travis to run mutations on changed files only

This commit is contained in:
Alejandro Celaya
2019-04-22 10:04:41 +02:00
parent b83c0e0aba
commit 32f171d861
4 changed files with 14 additions and 11 deletions

View File

@@ -1,15 +1,10 @@
const jestConfig = require(`${__dirname}/jest.config.js`);
// reporters: clear-text
module.exports = (config) => config.set({
mutate: jestConfig.collectCoverageFrom,
mutator: {
name: 'javascript',
excludedMutations: [ 'BooleanSubstitution', 'StringLiteral' ],
},
mutator: 'javascript',
testRunner: 'jest',
reporters: [ 'progress' ],
reporters: [ 'progress', 'clear-text' ],
coverageAnalysis: 'off',
jest: {
projectType: 'custom',
@@ -21,4 +16,7 @@ module.exports = (config) => config.set({
low: 60,
break: null,
},
clearTextReporter: {
logTests: false,
},
});