Skip to content

Commit

Permalink
Support legacy PHP 5.3 through PHP 7.2 and HHVM
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Sep 28, 2018
1 parent 67c789a commit 174efba
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .travis.yml
@@ -1,11 +1,29 @@
language: php

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

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

matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: hhvm

sudo: false

install:
- composer install --prefer-source --no-interaction
- composer install --no-interaction

script:
- vendor/bin/phpunit --coverage-text
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -16,6 +16,11 @@ The recommended way to install this library is [through composer](http://getcomp
}
```

This project aims to run on any platform and thus does not require any PHP
extensions and supports running on legacy PHP 5.3 through current PHP 7+ and
HHVM.
It's *highly recommended to use PHP 7+* for this project.

## Tests

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

0 comments on commit 174efba

Please sign in to comment.