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

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

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