Update karma.conf.js

This commit is contained in:
当耐特 2018-05-24 06:40:55 +08:00 committed by GitHub
parent eef837a246
commit 3509067b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ 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 = ci && !pullRequest && masterBranch,
sauceLabs = false,
performance = !coverage && String(process.env.PERFORMANCE)!=='false',
webpack = require('webpack');