1
0
mirror of https://github.com/danog/dns.git synced 2024-12-02 09:27:55 +01:00
dns/.travis.yml

30 lines
658 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:
2016-08-13 19:20:26 +02:00
- 7.0
2016-08-24 06:23:25 +02:00
- 7.1
2016-08-13 19:20:26 +02:00
- nightly
2016-08-24 06:23:25 +02:00
matrix:
allow_failures:
- php: nightly
fast_finish: true
2017-06-17 10:49:54 +02:00
before_script:
# --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722
- composer update -n --prefer-dist --ignore-platform-reqs
- composer require satooshi/php-coveralls dev-master --ignore-platform-reqs
2015-08-02 04:18:44 +02:00
script:
2016-08-13 19:20:26 +02:00
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
2017-06-17 10:49:54 +02:00
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
2015-08-02 04:18:44 +02:00
2017-06-17 10:49:54 +02:00
after_script:
- php vendor/bin/coveralls -v
cache:
directories:
2017-06-17 10:49:54 +02:00
- $HOME/.composer/cache/files