Skip to content

Commit

Permalink
Adding coverage to .travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdevel committed Jan 9, 2016
1 parent 5195468 commit 63df09a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
npm-debug.log
coverage

.idea
*.iml
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ node_js:
- iojs
before_install:
- npm install -g npm@~1.4.6
script:
- npm run cover
- npm run coveralls
13 changes: 8 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Soap [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Gitter chat][gitter-image]][gitter-url]
# Soap [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]

> A SOAP client and server for node.js.
Expand Down Expand Up @@ -502,7 +502,7 @@ namespace prefix is used to identify this Element. This is not much of a problem
}
```
This would override the default `ignoredNamespaces` of the `WSDL` processor to `['namespaceToIgnore', 'someOtherNamespace']`. (This shouldn't be necessary, anyways).

## Handling "ignoreBaseNameSpaces" attribute
If an Element in a `schema` definition depends has a basenamespace defined but the request does not need that value, for example you have a "sentJob" with basenamespace "v20"
but the request need only: <sendJob> set in the tree structure, you need to set the ignoreBaseNameSpaces to true. This is set because in a lot of workaround the wsdl structure is not correctly
Expand Down Expand Up @@ -567,12 +567,12 @@ describe('myService', function() {
});
});
```


## Contributors

* Author: [Vinay Pulim](https://github.com/vpulim)
* Maintainers:
* Maintainers:
- [Joe Spencer](https://github.com/jsdevel)
- [Heinz Romirer](https://github.com/herom)
* [All Contributors](https://github.com/vpulim/node-soap/graphs/contributors)
Expand All @@ -586,3 +586,6 @@ describe('myService', function() {

[gitter-url]: https://gitter.im/vpulim/node-soap
[gitter-image]: https://badges.gitter.im/vpulim/node-soap.png

[coveralls-url]: https://coveralls.io/r/vpulim/node-soap
[coveralls-image]: http://img.shields.io/coveralls/vpulim/node-soap/master.svg
16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,24 @@
},
"scripts": {
"pretest": "jshint index.js lib test",
"cover": "istanbul cover _mocha -- --timeout 10000 test/*-test.js test/security/*.js",
"coveralls": "cat ./coverage/lcov.info | coveralls -v",
"test": "mocha --timeout 10000 test/*-test.js test/security/*.js"
},
"keywords": [
"soap"
],
"license": "MIT",
"devDependencies": {
"mocha": "~1.17.0",
"jshint": "2.3.0",
"glob": "~3.2.8",
"should": "~3.3.0",
"timekeeper": "~0.0.4",
"coveralls": "^2.11.6",
"duplexer": "~0.1.1",
"glob": "~3.2.8",
"istanbul": "^0.4.1",
"jshint": "2.3.0",
"mocha": "~1.17.0",
"readable-stream": "~2.0.2",
"semver": "~5.0.3"
"semver": "~5.0.3",
"should": "~3.3.0",
"timekeeper": "~0.0.4"
}
}

0 comments on commit 63df09a

Please sign in to comment.