Added API generation and Yaml testing for 1.x and 1.0 branches of elasticsearch.

This commit is contained in:
Spencer Alger
2014-02-05 08:18:19 -07:00
parent 5ff4b6f855
commit 6c5838fbfa
31 changed files with 20144 additions and 2035 deletions

View File

@ -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;