1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +01:00
file/.travis.yml

24 lines
464 B
YAML

language: php
php:
- 5.5
- 5.6
- 7
matrix:
allow_failures:
- php: 7
before_script:
- yes "" | pecl install eio
- echo "extension=\"eio.so\"" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer self-update
- composer install
script:
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
- php vendor/bin/php-cs-fixer --diff --dry-run -v fix
after_script:
- php vendor/bin/coveralls -v