2015-08-02 04:18:44 +02:00
|
|
|
sudo: false
|
2014-07-19 15:37:48 +02:00
|
|
|
|
2015-08-02 04:18:44 +02:00
|
|
|
language: php
|
2014-07-19 15:37:48 +02:00
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.5
|
2015-08-02 04:18:44 +02:00
|
|
|
- 5.6
|
|
|
|
- 7
|
2014-07-19 15:37:48 +02:00
|
|
|
|
|
|
|
before_script:
|
2015-08-02 04:18:44 +02:00
|
|
|
- composer self-update
|
2015-08-30 16:39:04 +02:00
|
|
|
- composer require satooshi/php-coveralls:dev-master
|
2014-07-19 15:37:48 +02:00
|
|
|
- composer install
|
|
|
|
|
2015-08-02 04:18:44 +02:00
|
|
|
script:
|
2015-08-30 16:39:04 +02:00
|
|
|
- $(php -r 'if (PHP_MAJOR_VERSION >= 7) echo "phpdbg -qrr"; else echo "php";') vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
2015-08-02 04:18:44 +02:00
|
|
|
- php vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
|
|
|
|
|
|
|
after_script:
|
|
|
|
- php vendor/bin/coveralls -v
|