1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00
dns/.travis.yml

21 lines
440 B
YAML
Raw Normal View History

2015-08-02 04:18:44 +02:00
sudo: false
2015-08-02 04:18:44 +02:00
language: php
php:
- 5.5
2015-08-02 04:18:44 +02:00
- 5.6
- 7
before_script:
2015-08-02 04:18:44 +02:00
- composer self-update
- composer require satooshi/php-coveralls:dev-master
- composer install
2015-08-02 04:18:44 +02:00
script:
- $(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