Update karma.conf.js
This commit is contained in:
parent
3509067b62
commit
ea071c82fa
|
@ -1,11 +1,11 @@
|
|||
/*eslint no-var:0, object-shorthand:0 */
|
||||
|
||||
var coverage = String(process.env.COVERAGE) === 'true',
|
||||
ci = String(process.env.CI).match(/^(1|true)$/gi),
|
||||
pullRequest = !String(process.env.TRAVIS_PULL_REQUEST).match(/^(0|false|undefined)$/gi),
|
||||
masterBranch = String(process.env.TRAVIS_BRANCH).match(/^master$/gi),
|
||||
//sauceLabs = ci && !pullRequest && masterBranch,
|
||||
sauceLabs = false,
|
||||
// ci = String(process.env.CI).match(/^(1|true)$/gi),
|
||||
// pullRequest = !String(process.env.TRAVIS_PULL_REQUEST).match(/^(0|false|undefined)$/gi),
|
||||
// masterBranch = String(process.env.TRAVIS_BRANCH).match(/^master$/gi),
|
||||
// sauceLabs = ci && !pullRequest && masterBranch,
|
||||
sauceLabs = false,
|
||||
performance = !coverage && String(process.env.PERFORMANCE)!=='false',
|
||||
webpack = require('webpack');
|
||||
|
||||
|
|
Loading…
Reference in New Issue