language: php



php:

  - 5.4

  - 5.5

  - 5.6

  - 7.0

  - nightly

  - hhvm



before_install:

  - composer self-update



install:

  - composer install



script:

  - ./vendor/bin/phpunit -v --coverage-text --coverage-clover=./build/logs/clover.xml



after_script:

  - if [ -f ./build/logs/clover.xml ]; then travis_retry composer require satooshi/php-coveralls --no-interaction --update-with-dependencies; fi

  - if [ -f ./build/logs/clover.xml ]; then php vendor/bin/coveralls -v; fi

