8000 Test against PHP 7.2 · reactphp/http-client@55f22bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 55f22bb

Browse files
committed
Test against PHP 7.2
1 parent a0f6814 commit 55f22bb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ php:
66
- 5.6
77
- 7.0
88
- 7.1
9+
- 7.2
910
- nightly # ignore errors, see below
1011
- hhvm # ignore errors, see below
1112

@@ -17,8 +18,8 @@ matrix:
1718
- php: nightly
1819
- php: hhvm
1920

20-
before_script:
21-
- composer install
22-
21+
install:
22+
- composer install --no-interaction
23+
2324
script:
2425
- vendor/bin/phpunit --coverage-text

tests/FunctionalIntegrationTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public function testRequestToLocalhostEmitsSingleRemoteConnection()
1515
$loop = Factory::create();
1616

1717
$server = new Server(0, $loop);
18+
$server->on('connection', $this->expectCallableOnce());
1819
$server->on('connection', function (ConnectionInterface $conn) use ($server) {
1920
$conn->end("HTTP/1.1 200 OK\r\n\r\nOk");
2021
$server->close();

0 commit comments

Comments
 (0)
0