Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests on PHP 7.4 and simplify test matrix #16

Merged
merged 2 commits into from
May 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 10 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
language: php

php:
# - 5.3 # requires old distro, see below
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- hhvm # ignore errors, see below

# lock distro so new future defaults will not break the build
dist: trusty

Expand All @@ -19,8 +8,17 @@ matrix:
- php: 5.3
dist: precise
install: composer remove react/mysql --dev --no-interaction # do not install react/mysql example on legacy PHP
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
- php: hhvm-3.18
allow_failures:
- php: hhvm
- php: hhvm-3.18

sudo: false

Expand Down
4 changes: 4 additions & 0 deletions tests/Io/FunctionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public function testFdsWithInvalidPathReturnsSubsetOfFdsFromDevFd()
$this->markTestSkipped('Unable to read /dev/fd');
}

if (defined('HHVM_VERSION')) {
$this->markTestSkipped('Not supported on HHVM');
}

$fds = Io\fds();
$second = Io\fds('/dev/null');

Expand Down