language: php

sudo: false

php:
  - 5.6
  - 7.0
  - 7.1

env:
  - PHPUNIT=4.8.*
  - PHPUNIT=5.0.*
  - PHPUNIT=5.1.*
  - PHPUNIT=5.2.*
  - PHPUNIT=5.3.*
  - PHPUNIT=5.4.*
  - PHPUNIT=5.5.*
  - PHPUNIT=5.6.*
  - PHPUNIT=5.6.x-dev
  - PHPUNIT=5.7.x-dev
  - PHPUNIT=6.0.x-dev

matrix:
  allow_failure:
    - env: PHPUNIT=5.6.x-dev
    - env: PHPUNIT=5.7.x-dev
    - env: PHPUNIT=6.0.x-dev

cache:
  directories:
    - $HOME/.composer

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

script:
  - ./vendor/bin/phpunit -c phpunit.xml.example --testsuite tests

language: php

sudo: false

php:
  - 5.6
  - 7.0
  - 7.1

env:
  - PHPUNIT=4.8.*
  - PHPUNIT=5.0.*
  - PHPUNIT=5.1.*
  - PHPUNIT=5.2.*
  - PHPUNIT=5.3.*
  - PHPUNIT=5.4.*
  - PHPUNIT=5.5.*
  - PHPUNIT=5.6.*
  - PHPUNIT=5.6.x-dev
  - PHPUNIT=5.7.x-dev
  - PHPUNIT=6.0.x-dev

matrix:
  exclude:
    - php: 5.6
      env: PHPUNIT=6.0.x-dev

cache:
  directories:
    - $HOME/.composer

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

script:
  - ./vendor/bin/phpunit -c phpunit.xml.example --testsuite tests

Exclude old php from master
Exclude old php from master
