Skip to content

Commit

Permalink
Fix travis build (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
pulyaevskiy authored Nov 18, 2020
1 parent 5bfd301 commit ad1a940
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ script:
- ./tool/travis.sh node_io node
- ./tool/travis.sh node_http node
- ./tool/travis.sh e2e_interop_test

jobs:
allow_failures:
- dart: dev
4 changes: 4 additions & 0 deletions build_node_compilers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.3.1

- Upgraded dependency on build_modules to `2.11.3` to fix issues with Dart SDK constraint.

# 0.3.0

- Upgraded to latest build dependencies which allow Dart SDK 2.9.x branch. To upgrade use following
Expand Down
4 changes: 2 additions & 2 deletions build_node_compilers/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: build_node_compilers
version: 0.3.0
version: 0.3.1
description: Builders wrapping DDC and dart2js compilers configured to output Node modules.
homepage: https://github.com/pulyaevskiy/node-interop
author: Anatoly Pulyaevskiy <[email protected]>
Expand All @@ -12,7 +12,7 @@ dependencies:
bazel_worker: ^0.1.18
build: '>=1.3.0 <2.0.0'
build_config: '>=0.3.0 <0.5.0'
build_modules: '>=2.11.0 <2.11.2'
build_modules: '2.11.3'
collection: ^1.0.0
crypto: ^2.0.0
logging: ^0.11.3
Expand Down
6 changes: 6 additions & 0 deletions node_interop/lib/worker_threads.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,24 +88,30 @@ abstract class MessagePasser implements EventEmitter {
@anonymous
abstract class WorkerMessagePort implements MessagePasser {
external void close();
@override
external void postMessage(Object value, [List<Object> transferList]);
@override
external void ref();
external void start();
@override
external void unref();
}

@JS()
@anonymous
abstract class Worker implements MessagePasser {
external Promise getHeapSnapshot();
@override
external void postMessage(Object value, [List<Object> transferList]);
@override
external void ref();
external ResourceLimits get resourceLimits;
external Readable get stderr;
external Writable get stdin;
external Readable get stdout;
external Promise terminate();
external int get threadId;
@override
external void unref();
}

Expand Down

0 comments on commit ad1a940

Please sign in to comment.