mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: remove dashboard (#14023)
* Since we going to move from Travis to CircleCI we don't want to use the dashboard anymore. Since nobody has been looking at the dashboard frequently, it just makes things more complicated and additionally we will be using the Github robot in order to keep track of size changes.
This commit is contained in:
committed by
vivian-hu
parent
d50b9f28c1
commit
a02e6c64f1
@@ -13,7 +13,6 @@ module.exports = (config) => {
|
||||
require('karma-chrome-launcher'),
|
||||
require('karma-firefox-launcher'),
|
||||
require('karma-sourcemap-loader'),
|
||||
require('karma-coverage'),
|
||||
],
|
||||
files: [
|
||||
{pattern: 'node_modules/core-js/client/core.min.js', included: true, watched: false},
|
||||
@@ -52,12 +51,6 @@ module.exports = (config) => {
|
||||
reporters: ['dots'],
|
||||
autoWatch: false,
|
||||
|
||||
coverageReporter: {
|
||||
type : 'json-summary',
|
||||
dir : 'dist/coverage/',
|
||||
subdir: '.'
|
||||
},
|
||||
|
||||
sauceLabs: {
|
||||
testName: 'Angular Material Unit Tests',
|
||||
startConnect: false,
|
||||
@@ -124,13 +117,6 @@ module.exports = (config) => {
|
||||
if (process.env['TRAVIS']) {
|
||||
const buildId = `TRAVIS #${process.env.TRAVIS_BUILD_NUMBER} (${process.env.TRAVIS_BUILD_ID})`;
|
||||
|
||||
if (process.env['TRAVIS_PULL_REQUEST'] === 'false' &&
|
||||
process.env['MODE'] === "travis_required") {
|
||||
|
||||
config.preprocessors['dist/packages/**/!(*+(.|-)spec).js'] = ['coverage'];
|
||||
config.reporters.push('coverage');
|
||||
}
|
||||
|
||||
// The MODE variable is the indicator of what row in the test matrix we're running.
|
||||
// It will look like <platform>_<target>, where platform is one of 'saucelabs', 'browserstack'
|
||||
// or 'travis'. The target is a reference to different collections of browsers that can run
|
||||
|
||||
Reference in New Issue
Block a user