language: php

php:
  - '7.1'
  - '7.2'

cache:
  directories:
    - ./vendor

install:
  - composer install

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

after_success:
  - travis_retry vendor/bin/coveralls -v
