mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
28 lines
671 B
YAML
28 lines
671 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.1
|
|
|
|
install:
|
|
- composer install
|
|
# prepare test projects
|
|
- composer create-test-projects
|
|
|
|
script:
|
|
- vendor/bin/phpunit --coverage-clover coverage.xml
|
|
# disable xdebug
|
|
- phpenv config-rm xdebug.ini || return 0
|
|
# check coding standard (defined in composer.json "scripts" section)
|
|
# if this fails, run "composer fix-cs" to fix all fixable issues
|
|
- composer check-cs
|
|
# try on test projects
|
|
- composer process-test-projects
|
|
|
|
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
|