Permalink
Browse files

Other: Updated travis

  • Loading branch information...
dcodeIO committed Jan 24, 2017
1 parent 8d3bba4 commit b6dfa9f0a4c899b5c217d60d1c2bb835e06b2122
Showing with 9 additions and 18 deletions.
  1. +7 −16 .travis.yml
  2. +1 −1 README.md
  3. +1 −1 src/rpc/service.js
@@ -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
@@ -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.
@@ -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

0 comments on commit b6dfa9f

Please sign in to comment.