language: php

php:
  - 5.6

before_script:
  - composer self-update
  - composer install --no-interaction

script:
  - phpunit --coverage-clover build/logs/clover.xml

after_success:
  - travis_retry php vendor/bin/coveralls