language: php

php:
    - 7.1
    - 7.2

before_install:
    - composer self-update

install:
    - composer install --no-interaction --prefer-source

script:
    - composer easy-coding-standard
    - composer phpstan-analysis
    - composer nette-tester-tests

after_success:
    - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
    - php coveralls.phar --verbose --config tests/nette-tester.coveralls.yml

services:
    - redis-server

language: php

php:
    - 7.2
    - 7.3
    - 7.4

before_install:
    - composer self-update

install:
    - composer install --no-interaction --prefer-source

script:
    - composer cs:check
    - composer phpstan:check
    - composer tests

after_success:
    - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
    - php coveralls.phar --verbose --config tests/nette-tester.coveralls.yml

services:
    - redis-server

Drop PHP 7.1, use php 7.2, 7.3, 7.4
Drop PHP 7.1, use php 7.2, 7.3, 7.4
