language: php
sudo: false
git:
  submodules: false
cache:
  directories:
    - vendor
    - $HOME/.composer
php:
  - 5.5
  - 5.6
  - 7.0
install:
  - export PATH=$PATH:~/.composer/vendor/bin
  - which php-cs-fixer || composer global require fabpot/php-cs-fixer
  - composer install
script:
  - vendor/bin/phpunit
  - php-cs-fixer fix --dry-run -v --diff src
  - php-cs-fixer fix --dry-run -v --diff tests

language: php
sudo: false
git:
  submodules: false
cache:
  directories:
    - vendor
    - $HOME/.composer
php:
  - 7.2
  - 7.3
  - 7.4
install:
  - export PATH=$PATH:~/.composer/vendor/bin
  - which php-cs-fixer || composer global require fabpot/php-cs-fixer
  - composer install
script:
  - vendor/bin/phpunit
  - php-cs-fixer fix --dry-run -v --diff src
  - php-cs-fixer fix --dry-run -v --diff tests

Test with PHP 7.2, 7.3, and 7.4
Test with PHP 7.2, 7.3, and 7.4
