Skip to content

Commit e47fd02

Browse files
committed
Support legacy PHP 5.3 through PHP 7.2 and HHVM
1 parent 0a31d23 commit e47fd02

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

.travis.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
language: php
2+
23
php:
3-
- 5.6
4-
- 5.5
4+
# - 5.3 # requires old distro, see below
55
- 5.4
6-
- 5.3
7-
- hhvm
6+
- 5.5
7+
- 5.6
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
24+
825
install:
9-
- composer install --prefer-source --no-interaction
26+
- composer install --no-interaction
27+
1028
script:
1129
- vendor/bin/phpunit --coverage-text

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ The recommended way to install this library is [through composer](http://getcomp
1616
}
1717
```
1818

19+
This project aims to run on any platform and thus does not require any PHP
20+
extensions and supports running on legacy PHP 5.3 through current PHP 7+ and
21+
HHVM.
22+
It's *highly recommended to use PHP 7+* for this project.
23+
1924
## Tests
2025

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

0 commit comments

Comments
 (0)