Skip to content

Commit a67a8c8

Browse files
authored
Merge pull request #16 from SimonFrings/php7.4
Run tests on PHP 7.4 and simplify test matrix
2 parents 835e7ea + e578092 commit a67a8c8

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.travis.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
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-
- 7.3
12-
- hhvm # ignore errors, see below
13-
143
# lock distro so new future defaults will not break the build
154
dist: trusty
165

@@ -19,8 +8,17 @@ matrix:
198
- php: 5.3
209
dist: precise
2110
install: composer remove react/mysql --dev --no-interaction # do not install react/mysql example on legacy PHP
11+
- php: 5.4
12+
- php: 5.5
13+
- php: 5.6
14+
- php: 7.0
15+
- php: 7.1
16+
- php: 7.2
17+
- php: 7.3
18+
- php: 7.4
19+
- php: hhvm-3.18
2220
allow_failures:
23-
- php: hhvm
21+
- php: hhvm-3.18
2422

2523
sudo: false
2624

tests/Io/FunctionsTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ public function testFdsWithInvalidPathReturnsSubsetOfFdsFromDevFd()
4747
$this->markTestSkipped('Unable to read /dev/fd');
4848
}
4949

50+
if (defined('HHVM_VERSION')) {
51+
$this->markTestSkipped('Not supported on HHVM');
52+
}
53+
5054
$fds = Io\fds();
5155
$second = Io\fds('/dev/null');
5256

0 commit comments

Comments
 (0)