File tree Expand file tree Collapse file tree 6 files changed +69
-45
lines changed
Expand file tree Collapse file tree 6 files changed +69
-45
lines changed Original file line number Diff line number Diff line change 11/.gitattributes export-ignore
2+ /.github / export-ignore
23/.gitignore export-ignore
3- /.travis.yml export-ignore
4- /examples export-ignore
4+ /examples / export-ignore
55/phpunit.xml.dist export-ignore
66/phpunit.xml.legacy export-ignore
7- /tests export-ignore
7+ /tests / export-ignore
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ PHPUnit :
9+ name : PHPUnit (PHP ${{ matrix.php }})
10+ runs-on : ubuntu-20.04
11+ strategy :
12+ matrix :
13+ php :
14+ - 7.4
15+ - 7.3
16+ - 7.2
17+ - 7.1
18+ - 7.0
19+ - 5.6
20+ - 5.5
21+ - 5.4
22+ - 5.3
23+ steps :
24+ - uses : actions/checkout@v2
25+ - uses : shivammathur/setup-php@v2
26+ with :
27+ php-version : ${{ matrix.php }}
28+ coverage : xdebug
29+ - run : composer install
30+ - run : vendor/bin/phpunit --coverage-text
31+ if : ${{ matrix.php >= 7.3 }}
32+ - run : vendor/bin/phpunit --coverage-text -c phpunit.xml.legacy
33+ if : ${{ matrix.php < 7.3 }}
34+ - run : time php examples/91-benchmark-throughput.php
35+
36+ PHPUnit-macOS :
37+ name : PHPUnit (macOS)
38+ runs-on : macos-10.15
39+ continue-on-error : true
40+ steps :
41+ - uses : actions/checkout@v2
42+ - uses : shivammathur/setup-php@v2
43+ with :
44+ php-version : 7.4
45+ coverage : xdebug
46+ - run : composer install
47+ - run : vendor/bin/phpunit --coverage-text
48+ - run : time php examples/91-benchmark-throughput.php
49+
50+ PHPUnit-hhvm :
51+ name : PHPUnit (HHVM)
52+ runs-on : ubuntu-18.04
53+ continue-on-error : true
54+ steps :
55+ - uses : actions/checkout@v2
56+ - uses : azjezz/setup-hhvm@v1
57+ with :
58+ version : lts-3.30
59+ - run : hhvm $(which composer) install
60+ - run : hhvm vendor/bin/phpunit
61+ - run : time php examples/91-benchmark-throughput.php
Original file line number Diff line number Diff line change 1- composer.lock
2- vendor
1+ / composer.lock
2+ / vendor /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Stream
22
3- [ ![ Build Status ] ( https://travis-ci.org /reactphp/stream.svg?branch=master )] ( https://travis-ci.org /reactphp/stream )
3+ [ ![ CI status ] ( https://github.com /reactphp/stream/workflows/CI/badge .svg )] ( https://github.com /reactphp/stream/actions )
44
55Event-driven readable and writable streams for non-blocking I/O in [ ReactPHP] ( https://reactphp.org/ ) .
66
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function testUploadBiggerBlockPlain()
5959 public function testUploadKilobyteSecure ()
6060 {
6161 $ size = 1000 ;
62- $ stream = stream_socket_client ('tls ://httpbin.org:443 ' );
62+ $ stream = stream_socket_client ('ssl ://httpbin.org:443 ' );
6363
6464 $ loop = Factory::create ();
6565 $ stream = new DuplexResourceStream ($ stream , $ loop );
@@ -85,7 +85,7 @@ public function testUploadBiggerBlockSecure()
8585 // a bit to trigger different behavior on Linux vs Mac OS X.
8686 $ size = 136 * 1000 ;
8787
88- $ stream = stream_socket_client ('tls ://httpbin.org:443 ' );
88+ $ stream = stream_socket_client ('ssl ://httpbin.org:443 ' );
8989
9090 // PHP < 7.1.4 (and PHP < 7.0.18) suffers from a bug when writing big
9191 // chunks of data over TLS streams at once.
You can’t perform that action at this time.
0 commit comments