removes codecov from front-end tests

This commit is contained in:
bergquist
2018-04-16 11:39:09 +02:00
parent 738fb29134
commit 6c6b74fc39
5 changed files with 3 additions and 28 deletions
+2 -7
View File
@@ -10,10 +10,5 @@ function exit_if_fail {
fi
}
exit_if_fail npm run test:coverage
exit_if_fail npm run build
# publish code coverage
echo "Publishing javascript code coverage"
bash <(curl -s https://codecov.io/bash) -cF javascript
rm -rf coverage
exit_if_fail npm run test
exit_if_fail npm run build
+1 -6
View File
@@ -1,14 +1,9 @@
module.exports = function(config, grunt) {
'use strict';
var coverage = '';
if (config.coverage) {
coverage = '--coverage --maxWorkers 2';
}
return {
tslint: 'node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json',
jest: 'node ./node_modules/jest-cli/bin/jest.js ' + coverage,
jest: 'node ./node_modules/jest-cli/bin/jest.js --maxWorkers 2',
webpack: 'node ./node_modules/webpack/bin/webpack.js --config scripts/webpack/webpack.prod.js',
};
};