mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 18:13:13 +00:00
37 lines
855 B
YAML
37 lines
855 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.1
|
|
- 7.2
|
|
|
|
matrix:
|
|
include:
|
|
- php: 7.1
|
|
env: ECS=true
|
|
- php: 7.1
|
|
env: PHPSTAN=true
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|
|
|
|
install:
|
|
- composer install --no-interaction
|
|
- if [[ $ECS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
|
|
|
|
script:
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml -v
|
|
- if [[ $ECS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
|
|
- if [[ $PHPSTAN != "" ]]; then vendor/bin/phpstan analyse src --level max --configuration phpstan.neon; fi
|
|
|
|
after_script:
|
|
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar;
|
|
- php coveralls.phar --verbose;
|
|
|
|
notifications:
|
|
irc: "irc.freenode.org#phpdocumentor"
|
|
email:
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|