mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-31 12:40:00 +00:00
Moved codestyle, coverage and API documentation checks to PHP run against 7.2
This commit is contained in:
+3
-3
@@ -27,13 +27,13 @@ jobs:
|
||||
include:
|
||||
|
||||
- stage: Code style
|
||||
php: 7.1
|
||||
php: 7.2
|
||||
script:
|
||||
- ./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
|
||||
|
||||
- stage: Coverage
|
||||
php: 7.1
|
||||
php: 7.2
|
||||
env: KEEP_XDEBUG=1
|
||||
script:
|
||||
- travis_wait 40 ./vendor/bin/phpunit --debug --coverage-clover coverage-clover.xml
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
- php ocular.phar code-coverage:upload --format=php-clover tests/coverage-clover.xml
|
||||
|
||||
- stage: API documentation
|
||||
php: 7.1
|
||||
php: 7.2
|
||||
before_script:
|
||||
- curl -O http://get.sensiolabs.org/sami.phar
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user