From c43f459cd1ee6b1821b9f5cfa922973595316f86 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Mon, 8 Jun 2020 08:46:36 +0200 Subject: [PATCH] Test on PHP 7.4 Also remove HHVM (who's using it?). --- .gitattributes | 8 ++++---- .travis.yml | 50 ++++++++++++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 24 deletions(-) diff --git a/.gitattributes b/.gitattributes index 11b4af870..884d89b58 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,7 @@ /.gitattributes export-ignore /.gitignore export-ignore -/tests export-ignore -/sandbox export-ignore -/build.xml export-ignore -/build.properties.dev export-ignore /.travis.yml export-ignore +/build.properties.dev export-ignore +/build.xml export-ignore +/tests export-ignore +/tools export-ignore diff --git a/.travis.yml b/.travis.yml index 27275f630..1f4ceac7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,35 @@ -sudo: false +os: linux +dist: xenial language: php -dist: trusty + php: - - 5.4 - - 5.5 - - 5.6 - - 7.0 - - 7.1 - - 7.2 - - 7.3 - - hhvm - - nightly + - 7.0 + - 7.1 + - 7.2 + - 7.3 + - 7.4 + - nightly + +cache: + directories: + - $HOME/.composer/cache + +jobs: + fast_finish: true + allow_failures: + - php: nightly + include: + - php: 5.3 + dist: precise + - php: 5.4 + dist: precise + - php: 5.5 + dist: trusty + - php: 5.6 + dist: trusty -matrix: - include: - - php: "5.3" - dist: precise - fast_finish: true - allow_failures: - - php: nightly - - php: hhvm +install: + - composer install --prefer-dist --no-progress --no-suggest -o script: - - php -dshort_open_tag=Off -dmagic_quotes_gpc=Off tests/index.php + - php -dshort_open_tag=Off -dmagic_quotes_gpc=Off tests/index.php