2016-05-11 00:26:44 +00:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
- 7
|
2017-03-16 00:42:06 +00:00
|
|
|
- 7.1
|
2016-05-11 00:26:44 +00:00
|
|
|
- hhvm
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2018-03-18 01:13:05 +00:00
|
|
|
allow_failures:
|
|
|
|
- php: hhvm
|
2016-05-11 00:26:44 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- PREFER_LOWEST=""
|
|
|
|
- PREFER_LOWEST="--prefer-lowest"
|
|
|
|
|
|
|
|
|
|
|
|
before_script:
|
2017-03-16 00:42:06 +00:00
|
|
|
- rm -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
|
|
|
|
# - composer self-update
|
2016-05-11 00:26:44 +00:00
|
|
|
- composer update --prefer-source $PREFER_LOWEST
|
|
|
|
|
|
|
|
script:
|
|
|
|
- ./bin/phpunit --configuration tests/phpunit.xml
|
|
|
|
- ./bin/sabre-cs-fixer fix . --dry-run --diff
|