8000 Merge pull request #46 from SimonFrings/php7.4 · clue/reactphp-block@60fb1dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 60fb1dc

Browse files
authored
Merge pull request #46 from SimonFrings/php7.4
Run tests on PHP 7.4 and simplify test matrix
2 parents 942a887 + ecc5623 commit 60fb1dc

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.travis.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
language: php
22

3-
php:
4-
# - 5.3 # requires old distro, see below
5-
- 5.4
6-
- 5.5
7-
- 5.6
8-
- 7.0
9-
- 7.1
10-
- 7.2
11-
- hhvm # ignore errors, see below
12-
133
# lock distro so new future defaults will not break the build
144
dist: trusty
155

166
matrix:
177
include:
188
- php: 5.3
199
dist: precise
10+
- php: 5.4
11+
- php: 5.5
12+
- php: 5.6
13+
- php: 7.0
14+
- php: 7.1
15+
- php: 7.2
16+
- php: 7.3
17+
- php: 7.4
18+
- php: hhvm-3.18
2019
allow_failures:
21-
- php: hhvm
20+
- php: hhvm-3.18
2221

2322
install:
2423
- composer install --no-interaction

tests/FunctionAwaitAllTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public function testAwaitAllPendingPromiseWithTimeoutAndCancellerShouldNotCreate
115115
}
116116

117117
gc_collect_cycles();
118+
gc_collect_cycles(); // clear twice to avoid leftovers in PHP 7.4 with ext-xdebug and code coverage turned on
118119

119120
$promise = new \React\Promise\Promise(function () { }, function () {
120121
throw new RuntimeException();

0 commit comments

Comments
 (0)
0