
language: php

sudo: false

cache:
    directories:
        - $HOME/.composer/cache

php:
  - 7.1
  - 7.2

matrix:
  include:
    - php: 7.1
      env:
        - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
    - php: 7.1
      env: COVERAGE="--coverage-clover build/logs/clover.xml"
    - php: 7.2

before_install:
  - travis_retry composer self-update

install:
  - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
  - vendor/bin/phpunit $COVERAGE

after_script:
  - if [ "$COVERAGE" != "" ]; then vendor/bin/coveralls --verbose || true; fi


language: php

sudo: false

cache:
    directories:
        - $HOME/.composer/cache

php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4

matrix:
  include:
    - php: 7.1
      env:
        - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
    - php: 7.4
      env: COVERAGE="--coverage-clover build/logs/clover.xml"

before_install:
  - travis_retry composer self-update

install:
  - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
  - vendor/bin/phpunit $COVERAGE

after_script:
  - if [ "$COVERAGE" != "" ]; then vendor/bin/coveralls --verbose || true; fi

Test against PHP 7.3 and 7.4
Test against PHP 7.3 and 7.4
