From b842bbf88995d6d70f1dbe6d169c24ae11a4d907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Sun, 7 Oct 2018 18:00:16 +0200 Subject: [PATCH] Support legacy PHP 5.3 through PHP 7.2 and HHVM --- .travis.yml | 22 +++++++++++++++++----- README.md | 5 +++++ 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e5a8d75..730fd5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,26 @@ language: php -sudo: false - php: - - 5.3 +# - 5.3 # requires old distro, see below - 5.4 - 5.5 - 5.6 - - 7 - - hhvm + - 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 diff --git a/README.md b/README.md index 730b084..057764e 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,11 @@ $ php graph-composer.phar export ~/path/to/your/project You can grab a copy of clue/graph-composer in either of the following ways. +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. + ### As a phar (recommended) You can simply download a pre-compiled and ready-to-use version as a Phar