Update to minimum PHP version of 7.0, and use as a new baseline development branch for PHPSpreadsheet version 2 development
This commit is contained in:
parent
294ba58dde
commit
8c99d9d8c0
|
@ -2,7 +2,6 @@ language: php
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.6
|
|
||||||
- 7.0
|
- 7.0
|
||||||
- 7.1
|
- 7.1
|
||||||
- 7.2
|
- 7.2
|
||||||
|
@ -26,13 +25,13 @@ jobs:
|
||||||
include:
|
include:
|
||||||
|
|
||||||
- stage: Code style
|
- stage: Code style
|
||||||
php: 7.2
|
php: 7.3
|
||||||
script:
|
script:
|
||||||
- ./vendor/bin/php-cs-fixer fix --diff --verbose --dry-run
|
- ./vendor/bin/php-cs-fixer fix --diff --verbose --dry-run
|
||||||
- ./vendor/bin/phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PSR2 -n
|
- ./vendor/bin/phpcs --report-width=200 samples/ src/ tests/ --ignore=samples/Header.php --standard=PSR2 -n
|
||||||
|
|
||||||
- stage: Coverage
|
- stage: Coverage
|
||||||
php: 7.2
|
php: 7.3
|
||||||
env: KEEP_XDEBUG=1
|
env: KEEP_XDEBUG=1
|
||||||
script:
|
script:
|
||||||
- travis_wait 40 ./vendor/bin/phpunit --debug --coverage-clover coverage-clover.xml
|
- travis_wait 40 ./vendor/bin/phpunit --debug --coverage-clover coverage-clover.xml
|
||||||
|
@ -41,7 +40,7 @@ jobs:
|
||||||
- php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml
|
- php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml
|
||||||
|
|
||||||
- stage: API documentation
|
- stage: API documentation
|
||||||
php: 7.2
|
php: 7.3
|
||||||
before_script:
|
before_script:
|
||||||
- curl -O https://get.sensiolabs.org/sami.phar
|
- curl -O https://get.sensiolabs.org/sami.phar
|
||||||
script:
|
script:
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^5.6|^7.0",
|
"php": "^7.0",
|
||||||
"ext-ctype": "*",
|
"ext-ctype": "*",
|
||||||
"ext-dom": "*",
|
"ext-dom": "*",
|
||||||
"ext-gd": "*",
|
"ext-gd": "*",
|
||||||
|
|
Loading…
Reference in New Issue