Files
barryvdh_ReflectionDocBlock/.travis.yml
T
2017-11-12 21:23:54 +01:00

37 lines
786 B
YAML

language: php
php:
- 7.0
- 7.1
- 7.2
matrix:
include:
- php: 7.1
env: STATIC_ANALYSIS=true
cache:
directories:
- $HOME/.composer/cache
install:
- composer install --no-interaction
# coding style
- if [[ $STATIC_ANALYSIS != "" ]]; then composer create-project symplify/easy-coding-standard temp/ecs; fi
script:
- vendor/bin/phpunit --coverage-clover=coverage.clover -v
# coding style
- if [[ $STATIC_ANALYSIS != "" ]]; then temp/ecs/bin/ecs check src tests; fi
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
irc: "irc.freenode.org#phpdocumentor"
email:
- [email protected]
- [email protected]
- [email protected]