From a83d9bdbcedc0e17e7a73646cab50a10854af62f Mon Sep 17 00:00:00 2001 From: Michael Moravec Date: Sat, 4 Feb 2017 19:21:09 +0100 Subject: [PATCH] Drop PHP 5.x support --- .travis.yml | 13 ++++++++++--- composer.json | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4331b9996..c5579f091 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,22 @@ language: php -sudo: false +sudo: required +dist: trusty +group: edge cache: directory: - $HOME/.composer/cache php: - - 5.6 - 7.0 - 7.1 - - hhvm + - hhvm-3.6 + - hhvm-3.9 + - hhvm-3.12 + - hhvm-3.15 + - hhvm-3.18 + - hhvm-nightly matrix: include: @@ -20,6 +26,7 @@ matrix: env: PHPSTAN=1 before_script: + - if [[ $TRAVIS_PHP_VERSION =~ ^hhvm ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi - composer --prefer-source install - if [[ $PHPSTAN = 1 ]]; then composer require --dev phpstan/phpstan:^0.6; fi diff --git a/composer.json b/composer.json index 36974e475..fa4edaa0d 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} ], "require": { - "php": "~5.6|~7.0", + "php": "~7.0", "doctrine/inflector": "1.*", "doctrine/cache": "1.*", "doctrine/collections": "1.*",