Skip to content

Commit b6dfa9f

Browse files
committed
Other: Updated travis
1 parent 8d3bba4 commit b6dfa9f

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
lines changed

.travis.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,17 @@ node_js:
44
- 4
55
- 6
66
- 7
7-
env:
8-
- CXX=g++-4.8
7+
env: CXX=g++-4.8
98
addons:
109
apt:
11-
sources:
12-
- ubuntu-toolchain-r-test
13-
packages:
14-
- g++-4.8
15-
script:
16-
- npm test
17-
- npm run bench
10+
sources: ubuntu-toolchain-r-test
11+
packages: g++-4.8
12+
script: npm test && npm run bench
1813
branches:
19-
only:
20-
- master
14+
only: master
2115
matrix:
2216
include:
2317
- node_js: 6
24-
script:
25-
- 'if [ "$SAUCE_USERNAME" ]; then travis_wait npm run zuul; sleep 3; fi'
26-
include:
18+
script: if [ -n "$SAUCE_USERNAME" ]; then travis_wait npm run zuul; sleep 3; fi
2719
- node_js: 6
28-
script:
29-
- npm run coverage-ci
20+
script: npm run coverage-ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ $> pbjs -t static-module file1.proto file2.proto | pbts -o bundle.d.ts -
357357

358358
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.
359359

360-
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.
360+
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.
361361

362362
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.
363363

src/rpc/service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var util = require("../util/minimal");
1818
*/
1919

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

0 commit comments

Comments
 (0)