Added API generation and Yaml testing for 1.x and 1.0 branches of elasticsearch.
This commit is contained in:
@ -1,16 +1,11 @@
|
||||
module.exports = {
|
||||
var root = require('find-root')(__dirname);
|
||||
var utils = require(root + '/grunt/utils');
|
||||
|
||||
var config = {
|
||||
unit: {
|
||||
src: 'test/unit/index.js'
|
||||
},
|
||||
|
||||
integration_master: {
|
||||
src: 'test/integration/yaml_suite/index.js'
|
||||
},
|
||||
|
||||
'integration_0.90': {
|
||||
src: 'test/integration/yaml_suite/index_0_90.js'
|
||||
},
|
||||
|
||||
// run the unit tests, and update coverage.html
|
||||
make_coverage_html: {
|
||||
src: 'test/unit/coverage.js',
|
||||
@ -30,4 +25,12 @@ module.exports = {
|
||||
instrument: false
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
utils.branches.forEach(function (branch) {
|
||||
config['integration_' + branch] = {
|
||||
src: 'test/integration/yaml_suite/index' + utils.branchSuffix(branch) + '.js'
|
||||
};
|
||||
});
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user