---
language: php
php: "7.1"
install: composer install
script:
  - >-
    vendor/bin/php-cs-fixer fix
    --config=.php_cs.dist
    --dry-run
    --path-mode=intersection
    --using-cache=no
    --verbose
    $(git diff --diff-filter=d --name-only $TRAVIS_COMMIT_RANGE)
  - vendor/bin/phpunit

---
language: php
php:
  - "7.1"
  - nightly
install: composer install
script:
  - >-
    vendor/bin/php-cs-fixer fix
    --config=.php_cs.dist
    --dry-run
    --path-mode=intersection
    --using-cache=no
    --verbose
    $(git diff --diff-filter=d --name-only $TRAVIS_COMMIT_RANGE)
  - vendor/bin/phpunit

Add test against a recent PHP build
Add test against a recent PHP build
