language: php

php:
  - 7.2
  - nightly

matrix:
  allow_failures:
    - php: nightly

sudo: false

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-dist

script:
  - mkdir -p build/logs
  - ./vendor/bin/parallel-lint src tests
  - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
  - ./vendor/bin/phpcs src --standard=psr12 -sp
  - ./vendor/bin/phpstan analyse src tests --level=4

after_script:
  - php vendor/bin/coveralls

language: php

php:
  - 7.2
  - 7.3
  - nightly

matrix:
  allow_failures:
    - php: nightly

sudo: false

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-dist

script:
  - mkdir -p build/logs
  - ./vendor/bin/parallel-lint src tests
  - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
  - ./vendor/bin/phpcs src --standard=psr12 -sp
  - ./vendor/bin/phpstan analyse src tests --level=4

after_script:
  - php vendor/bin/coveralls

Add PHP 7.3 to the Travis build
Add PHP 7.3 to the Travis build
