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:
|
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
|
2014-07-19 15:37:48 +02:00
|
|
|
|
2016-08-24 06:23:25 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|
|
|
|
fast_finish: true
|
|
|
|
|
2017-01-25 13:05:17 +01:00
|
|
|
env:
|
|
|
|
- DEPS=lowest
|
|
|
|
- DEPS=highest
|
|
|
|
|
|
|
|
install:
|
|
|
|
- if [ "$DEPS" = "lowest" ]; then
|
|
|
|
composer update -n --prefer-source --prefer-lowest;
|
|
|
|
else
|
|
|
|
composer update -n --prefer-source;
|
|
|
|
fi;
|
|
|
|
- composer show
|
2014-07-19 15:37:48 +02:00
|
|
|
|
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
|
2015-08-02 04:18:44 +02:00
|
|
|
- php vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
|
|
|
|
2017-01-25 16:41:31 +01:00
|
|
|
after_success:
|
2017-01-25 13:05:17 +01:00
|
|
|
- composer require satooshi/php-coveralls dev-master
|
2017-01-25 16:41:31 +01:00
|
|
|
- travis_retry php vendor/bin/coveralls -v
|
2016-04-01 16:34:32 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|