Moved codestyle, coverage and API documentation checks to PHP run against 7.2

This commit is contained in:
MarkBaker 2018-10-14 17:39:08 +01:00
parent 0ef1b55106
commit a1e8c843b7
1 changed files with 3 additions and 3 deletions

View File

@ -27,13 +27,13 @@ jobs:
include: include:
- stage: Code style - stage: Code style
php: 7.1 php: 7.2
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.1 php: 7.2
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
@ -42,7 +42,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.1 php: 7.2
before_script: before_script:
- curl -O http://get.sensiolabs.org/sami.phar - curl -O http://get.sensiolabs.org/sami.phar
script: script: