mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
24 lines
577 B
YAML
24 lines
577 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.1
|
|
|
|
install:
|
|
- composer install
|
|
|
|
script:
|
|
- vendor/bin/phpunit --coverage-clover coverage.xml
|
|
# check coding standard (defined in composer.json "scripts" section)
|
|
# if this fails, run "composer fix-cs" to fix all fixable issues
|
|
- composer check-cs
|
|
# check with phpstan (defined in composer.json "scripts" section)
|
|
- composer phpstan
|
|
|
|
after_script:
|
|
# upload coverage to Coveralls.io
|
|
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
|
|
- php coveralls.phar --verbose
|
|
|
|
notifications:
|
|
email: never
|