2015-08-30 21:58:02 -05:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
2016-01-22 23:32:07 -06:00
|
|
|
- 7.0
|
2016-08-18 17:36:58 -05:00
|
|
|
- 7.1
|
|
|
|
- nightly
|
2015-08-30 21:58:02 -05:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2016-08-18 17:41:17 -05:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|
|
|
|
fast_finish: true
|
|
|
|
|
2015-08-30 21:58:02 -05:00
|
|
|
install:
|
2017-06-17 18:18:29 +02:00
|
|
|
# --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
|
2017-05-18 17:19:50 -05:00
|
|
|
- travis/install-pthreads.sh
|
2015-08-30 21:58:02 -05:00
|
|
|
|
|
|
|
script:
|
2015-12-04 23:54:55 -06:00
|
|
|
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
2017-06-17 18:18:29 +02:00
|
|
|
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
2015-08-30 21:58:02 -05:00
|
|
|
|
|
|
|
after_script:
|
2015-08-31 12:44:19 -05:00
|
|
|
- vendor/bin/coveralls -v --exclude-no-stmt
|