removed node version 6 from travis

This commit is contained in:
Dhroov7
2019-11-17 01:23:01 +05:30
parent bee0e8b6f3
commit ab5a616329
3 changed files with 5 additions and 3 deletions

View File

@@ -1,8 +1,7 @@
language: node_js
node_js:
- "6"
- "7"
- "8"
- "9"
- "node"
- "lts/*"
- "lts/*"

View File

@@ -68,6 +68,7 @@ schemaFaker.option({
* Safe wrapper for schemaFaker that resolves references and
* removes things that might make schemaFaker crash
* @param {*} oldSchema the schema to fake
* @param {string} resolveTo tells to use example values or fake schema
* @param {string} bodyTypeOption tells that the schema object is of request or response
* @param {*} components list of predefined components (with schemas)
* @param {string} schemaFormat default or xml
@@ -806,6 +807,7 @@ module.exports = {
/**
* convert param with in='query' to string considering style and type
* @param {*} param with in='query'
* @param {string} requestType tells if this is example request or root request
* @returns {array} converted queryparam
*/
convertToPmQueryParameters: function(param, requestType) {
@@ -1009,6 +1011,7 @@ module.exports = {
/**
* converts params with in='header' to a Postman header object
* @param {*} header param with in='header'
* @param {string} requestType tells if this is example request or root request
* @returns {Object} instance of a Postman SDK Header
*/
convertToPmHeader: function(header, requestType) {

View File

@@ -25,7 +25,7 @@ describe('travis.yml', function () {
describe('strucure', function () {
it('language must be set to node', function () {
expect(travisYAML.language).to.be('node_js');
expect(travisYAML.node_js).to.eql(['6', '7', '8', '9', 'node', 'lts/*']);
expect(travisYAML.node_js).to.eql(['7', '8', '9', 'node', 'lts/*']);
});
});
});