language: php

php:
    - 5.5
    - 5.6
    - 7.0
    - hhvm

sudo: false

install: travis_retry composer install --no-interaction --prefer-source

before_script: mkdir -p build/logs

script: php vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover ./build/logs/clover.xml

after_success: php vendor/bin/coveralls -v
