Skip to content

Commit 0fee83d

Browse files
committed
Support legacy PHP 5.3 through PHP 7.2 and HHVM
1 parent 2ebb7cf commit 0fee83d

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.travis.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
language: php
22

33
php:
4-
- 5.3
4+
# - 5.3 # requires old distro, see below
55
- 5.4
66
- 5.5
77
- 5.6
8-
- 7
9-
- hhvm
8+
- 7.0
9+
- 7.1
10+
- 7.2
11+
- hhvm # ignore errors, see below
12+
13+
# lock distro so future defaults will not break the build
14+
dist: trusty
15+
16+
matrix:
17+
include:
18+
- php: 5.3
19+
dist: precise
20+
allow_failures:
21+
- php: hhvm
22+
23+
sudo: false
1024

1125
install:
1226
- composer install --no-interaction

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ $ composer require clue/mdns-react:~0.2.0
141141

142142
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
143143

144+
This project aims to run on any platform and thus does not require any PHP
145+
extensions and supports running on legacy PHP 5.3 through current PHP 7+ and
146+
HHVM.
147+
It's *highly recommended to use PHP 7+* for this project.
148+
144149
## Tests
145150

146151
To run the test suite, you first need to clone this repo and then install all

0 commit comments

Comments
 (0)