Force PHP 7.1

This commit is contained in:
Adrien Loison 2018-06-03 20:29:06 +02:00 committed by Adrien Loison
parent 5c0030854f
commit e83ac423dc
2 changed files with 6 additions and 10 deletions

View File

@ -5,12 +5,8 @@ language: php
matrix: matrix:
include: include:
- php: 5.6 - php: 7.1
env: WITH_PHPUNIT=true
- php: 5.6
env: WITH_CS=true env: WITH_CS=true
- php: 7.0
env: WITH_PHPUNIT=true
- php: 7.1 - php: 7.1
env: WITH_PHPUNIT=true WITH_COVERAGE=true env: WITH_PHPUNIT=true WITH_COVERAGE=true
- php: 7.2 - php: 7.2

View File

@ -12,13 +12,13 @@
} }
], ],
"require": { "require": {
"php": ">=5.6.0", "php": ">=7.1.0",
"ext-zip": "*", "ext-zip": "*",
"ext-xmlreader" : "*" "ext-xmlreader" : "*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7.0 || ^6.4.0", "phpunit/phpunit": "^7",
"friendsofphp/php-cs-fixer": "^2.7.0" "friendsofphp/php-cs-fixer": "^2"
}, },
"suggest": { "suggest": {
"ext-iconv": "To handle non UTF-8 CSV files (if \"php-intl\" is not already installed or is too limited)", "ext-iconv": "To handle non UTF-8 CSV files (if \"php-intl\" is not already installed or is too limited)",
@ -31,7 +31,7 @@
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.8.x-dev" "dev-master": "3.1.x-dev"
} }
} }