language: php

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.1snapshot
  - 7.2
  - 7.2snapshot
  - nightly

matrix:
  allow_failures:
    - php: nightly

before_install:
  - composer self-update
  - composer clear-cache
  - if [ $(phpenv version-name) = "5.6" ]; then wget https://phar.phpunit.de/phpunit-5.7.phar -O phpunit.phar; fi
  - if [ $(phpenv version-name) != "5.6" ]; then wget https://phar.phpunit.de/phpunit.phar; fi

install: composer install

script: php phpunit.phar --configuration phpunit.xml.dist

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/f0abd75c9ea61d414afa
    on_success: always
    on_failure: always
    on_start: false

language: php

php:
  - 7.0
  - 7.1
  - 7.1snapshot
  - 7.2
  - 7.2snapshot
  - nightly

matrix:
  allow_failures:
    - php: nightly

before_install:
  - composer self-update
  - composer clear-cache
  - wget https://phar.phpunit.de/phpunit.phar

install: composer install

script: php phpunit.phar --configuration phpunit.xml.dist

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/f0abd75c9ea61d414afa
    on_success: always
    on_failure: always
    on_start: false

Remove PHP 5.6 from CI
Remove PHP 5.6 from CI
