the default config has to change with the removal of 'script.disable_dynamic' in 2.0
This commit is contained in:
@ -23,12 +23,23 @@ function setBranchConfig(branch, target) {
|
||||
case '1.1':
|
||||
// no special treatment
|
||||
break;
|
||||
default:
|
||||
case '1.2':
|
||||
case '1.3':
|
||||
case '1.4':
|
||||
case '1.5':
|
||||
case '1.x':
|
||||
target.options.config = _.merge({
|
||||
'node.bench': true,
|
||||
'script.disable_dynamic': false
|
||||
}, target.options.config);
|
||||
break;
|
||||
default:
|
||||
target.options.config = _.merge({
|
||||
'node.bench': true,
|
||||
'script.inline': true,
|
||||
'script.indexed': true
|
||||
}, target.options.config);
|
||||
break;
|
||||
}
|
||||
|
||||
target.options = _.merge({}, defaultOpts, target.options);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
var BROWSER = process.env.browser;
|
||||
var VERBOSE = process.env.VERBOSE;
|
||||
var JENKINS = process.env.JENKINS;
|
||||
var JENKINS = !!process.env.JENKINS_HOME;
|
||||
|
||||
if (BROWSER) {
|
||||
/* jshint browser: true */
|
||||
|
||||
Reference in New Issue
Block a user