tweak jest settings for CI

This commit is contained in:
Bazyli Brzóska 2018-04-18 22:58:36 +02:00
parent 336fa55646
commit 610fd66981
1 changed files with 3 additions and 4 deletions

View File

@ -95,11 +95,11 @@
"test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest", "test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest",
"test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"", "test:integration": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
"test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"", "test:unit": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
"travis:integration": "yarn cover:init && yarn cover:integration --ci --maxWorkers 4 && yarn cover:report-min", "travis:integration": "yarn cover:init && yarn cover:integration --ci --runInBand && yarn cover:report-min",
"travis:unit": "yarn cover:init && yarn cover:unit --ci --reporters jest-silent-reporter", "travis:unit": "yarn cover:init && yarn cover:unit --ci --reporters jest-silent-reporter",
"travis:lint": "yarn lint", "travis:lint": "yarn lint",
"travis:benchmark": "yarn benchmark --ci", "travis:benchmark": "yarn benchmark --ci",
"appveyor:integration": "yarn cover:init && yarn cover:integration --ci --reporters jest-silent-reporter --maxWorkers 2 && yarn cover:report-min", "appveyor:integration": "yarn cover:init && yarn cover:integration --ci --reporters jest-silent-reporter --runInBand && yarn cover:report-min",
"appveyor:unit": "yarn cover:init && yarn cover:unit --ci --reporters jest-silent-reporter && yarn cover:report-min", "appveyor:unit": "yarn cover:init && yarn cover:unit --ci --reporters jest-silent-reporter && yarn cover:report-min",
"appveyor:benchmark": "yarn benchmark --ci", "appveyor:benchmark": "yarn benchmark --ci",
"circleci:test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --ci --reporters jest-silent-reporter", "circleci:test": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --ci --reporters jest-silent-reporter",
@ -147,8 +147,7 @@
], ],
"testEnvironment": "node", "testEnvironment": "node",
"coverageReporters": [ "coverageReporters": [
"json", "json"
"lcov"
] ]
} }
} }