language: php

sudo: false

php:
  - 7.1
  - 7.2
  - nightly

env:
  - PHPUNIT=7.*

cache:
  directories:
    - $HOME/.composer

before_script:
  - phpenv config-rm xdebug.ini || true
  - composer require phpunit/phpunit:${PHPUNIT}

script:
  - ./vendor/bin/phpunit

language: php

sudo: false

php:
  - 7.1
  - 7.2
  - nightly

env:
  - PHPUNIT=7.*
  - PHPUNIT=dev-master MIN_STABILITY=dev

cache:
  directories:
    - $HOME/.composer

before_script:
  - phpenv config-rm xdebug.ini || true
  - if [ "$MIN_STABILITY" != "" ]; then composer config minimum-stability $MIN_STABILITY; fi
  - composer require phpunit/phpunit:${PHPUNIT}

script:
  - ./vendor/bin/phpunit

Extend Travis config to add tests against dev-master of PHPUnit
Extend Travis config to add tests against dev-master of PHPUnit
