Moved codestyle, coverage and API documentation checks to PHP run against 7.2
This commit is contained in:
parent
0ef1b55106
commit
a1e8c843b7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue