Skip to content

Commit

Permalink
Other: Updated travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Jan 24, 2017
1 parent 8d3bba4 commit b6dfa9f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
23 changes: 7 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,17 @@ node_js:
- 4
- 6
- 7
env:
- CXX=g++-4.8
env: CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
script:
- npm test
- npm run bench
sources: ubuntu-toolchain-r-test
packages: g++-4.8
script: npm test && npm run bench
branches:
only:
- master
only: master
matrix:
include:
- node_js: 6
script:
- 'if [ "$SAUCE_USERNAME" ]; then travis_wait npm run zuul; sleep 3; fi'
include:
script: if [ -n "$SAUCE_USERNAME" ]; then travis_wait npm run zuul; sleep 3; fi
- node_js: 6
script:
- npm run coverage-ci
script: npm run coverage-ci
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ $> pbjs -t static-module file1.proto file2.proto | pbts -o bundle.d.ts -

While using .proto files requires the [full library][dist-full] (about 18.5kb gzipped) or JSON at least the [light library][dist-light] (about 15.5kb gzipped), pretty much all code but the relatively short descriptors is shared and all features including reflection and the parser are available.

Static code, on the other hand, requires just the [minimal library][dist-minimal] (about 5.5kb gzipped), but generates additional, albeit editable, source code without any reflection features.
Static code, on the other hand, requires just the [minimal library][dist-minimal] (about 6kb gzipped), but generates additional, albeit editable, source code without any reflection features.

There is no significant difference performance-wise as the code generated statically is pretty much the same as generated at runtime and both are largely interchangeable as seen in the previous section.

Expand Down
2 changes: 1 addition & 1 deletion src/rpc/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var util = require("../util/minimal");
*/

/**
* A service method part of an {@link rpc.ServiceMethodMixin|ServiceMethodMixin} and thus {@link rpc.Service} as created by {@link Service.create}.
* A service method part of a {@link rpc.ServiceMethodMixin|ServiceMethodMixin} and thus {@link rpc.Service} as created by {@link Service.create}.
* @typedef rpc.ServiceMethod
* @type {function}
* @param {Message|Object} request Request message or plain object
Expand Down

0 comments on commit b6dfa9f

Please sign in to comment.