Drop support for EOL PHP versions

This commit is contained in:
Simon Podlipsky 2018-03-09 15:03:52 +01:00
parent 94525c0025
commit bcf396868a
No known key found for this signature in database
GPG Key ID: 725C2BD962B42663
2 changed files with 11 additions and 7 deletions

View File

@ -1,14 +1,12 @@
language: php language: php
# Required for HHVM, see https://github.com/travis-ci/travis-ci/issues/7712
dist: trusty dist: trusty
php: php:
- 5.5
- 5.6 - 5.6
- 7.0 - 7.0
- 7.1 - 7.1
- hhvm - 7.2
- nightly - nightly
matrix: matrix:
@ -20,7 +18,8 @@ cache:
- $HOME/.composer/cache - $HOME/.composer/cache
before_install: before_install:
- if [[ "$TRAVIS_PHP_VERSION" != "5.6" && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini || true; fi - if [[ "$TRAVIS_PHP_VERSION" != "5.6" ]]; then phpenv config-rm xdebug.ini || true; fi
- phpenv config-rm xdebug.ini || true
- composer selfupdate - composer selfupdate
install: install:

View File

@ -9,7 +9,7 @@
"API" "API"
], ],
"require": { "require": {
"php": ">=5.5,<8.0-DEV", "php": ">=5.6",
"ext-mbstring": "*" "ext-mbstring": "*"
}, },
"require-dev": { "require-dev": {
@ -17,7 +17,12 @@
"psr/http-message": "^1.0" "psr/http-message": "^1.0"
}, },
"config": { "config": {
"bin-dir": "bin" "bin-dir": "bin",
"platform": {
"php": "5.6.0"
},
"preferred-install": "dist",
"sort-packages": true
}, },
"autoload": { "autoload": {
"files": ["src/deprecated.php"], "files": ["src/deprecated.php"],