Skip to content

Commit 63f2fd7

Browse files
committed
Merge pull request #27 from clue-labs/deps
Update dependencies for more reliable streaming APIs
2 parents 7802747 + e5d9e38 commit 63f2fd7

9 files changed

Lines changed: 87 additions & 98 deletions

File tree

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
language: php
2+
23
php:
34
- 5.3
5+
- 5.4
6+
- 5.5
47
- 5.6
8+
- 7
59
- hhvm
6-
matrix:
7-
allow_failures:
8-
- php: 5.3 # works locally?
10+
11+
sudo: false
12+
913
install:
10-
- composer install --prefer-source --no-interaction
14+
- composer install --no-interaction
15+
1116
script:
1217
- phpunit --coverage-text

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
"require": {
1717
"php": ">=5.3",
1818
"react/event-loop": "~0.3.0|~0.4.0",
19-
"clue/buzz-react": "~0.4.0",
19+
"clue/buzz-react": "^0.5",
2020
"react/promise": "~2.0|~1.1",
21-
"clue/json-stream": "~0.1.0"
21+
"clue/json-stream": "~0.1.0",
22+
"rize/uri-template": "^0.3",
23+
"clue/promise-stream-react": "^0.1"
2224
},
2325
"require-dev": {
2426
"clue/tar-react": "~0.1.0",

examples/export.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
});
2626

2727
$out = new Stream(fopen($target, 'w'), $loop);
28+
$out->pause();
2829
$stream->pipe($out);
2930

3031
$loop->run();

0 commit comments

Comments
 (0)