Files
barryvdh_ReflectionDocBlock/.travis.yml
T

37 lines
861 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 tests --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]