language: php

dist: xenial

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4

matrix:
  include:
    - name: PHPStan
      php: 7.4
      before_script:
        - travis_retry composer update --no-interaction --no-dev
        - curl -L https://github.com/phpstan/phpstan/releases/download/0.12.32/phpstan.phar -o phpstan.phar
      script:
        - php phpstan.phar analyse --no-progress

before_script:
  - travis_retry composer update --no-interaction

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

language: php

dist: xenial

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4

matrix:
  include:
    - name: PHPStan
      php: 7.4.7
      before_script:
        - travis_retry composer update --no-interaction --no-dev
        - curl -L https://github.com/phpstan/phpstan/releases/download/0.12.32/phpstan.phar -o phpstan.phar
      script:
        - php phpstan.phar analyse --no-progress

before_script:
  - travis_retry composer update --no-interaction

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

Use PHP 7.4.7 to run PHPStan
Use PHP 7.4.7 to run PHPStan
