language: php
php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - hhvm
  - nightly
env:
  - PREFER_LOWEST="--prefer-lowest --prefer-stable"
  - PREFER_LOWEST=""
matrix:
  fast_finish: true
  allow_failures:
     - php: hhvm
     - php: nightly
before_script:
  - composer update $PREFER_LOWEST
script:
  - ./vendor/bin/phpunit --coverage-clover clover.xml
after_success: sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/coveralls -v; fi'

language: php
php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - hhvm
  - nightly
env:
  - PREFER_LOWEST="--prefer-lowest --prefer-stable"
  - PREFER_LOWEST=""
matrix:
  fast_finish: true
  allow_failures:
     - php: 7.2
     - php: hhvm
     - php: nightly
before_script:
  - composer update $PREFER_LOWEST
script:
  - ./vendor/bin/phpunit --coverage-clover clover.xml
after_success: sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then ./vendor/bin/coveralls -v; fi'

Add PHP 7.2 back to allowed failures
Add PHP 7.2 back to allowed failures
