language: php
php:
  - '7.2'
  - '7.3'
before_script:
  - composer update --prefer-dist --prefer-stable $PREFER_LOWEST
script:
  - mkdir -p build/logs
  - phpunit --coverage-clover build/logs/clover.xml
after_script:
  - php vendor/bin/php-coveralls -v
branches:
  only:
    - master
    - develop
cache:
  directories:
    - $HOME/.composer/cache