dist: trusty

language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3

before_script:
  - travis_retry composer install --no-interaction

script:
  - vendor/bin/phpunit --coverage-text

after_script:
  - php vendor/bin/codacycoverage clover build/clover.xml
