dist: xenial

language: php
sudo: false

cache: vendor

jobs:
  include:
    - php: '5.3'
      dist: precise
    - php: '5.4'
      dist: trusty
    - php: '5.5'
      dist: trusty
    - php: '5.6'
    - php: '7.0'
    - php: '7.1'
    - php: '7.2'
    - php: '7.3'

before_install:
  - composer config -g repositories.packagist path $(pwd)
  - composer global require 'hirak/prestissimo:@dev'
  - composer config -g --unset repositories.packagist

install:
  - composer install --no-progress --profile

script:
  - composer test

after_success:
  - php bin/ocular.phar code-coverage:upload --format=php-clover artifacts/clover.xml
  - php bin/coveralls.phar -v

dist: xenial

language: php
sudo: false

cache: vendor

jobs:
  include:
    - php: '5.3'
      dist: precise
    - php: '5.4'
      dist: trusty
    - php: '5.5'
      dist: trusty
    - php: '5.6'
    - php: '7.0'
    - php: '7.1'
    - php: '7.2'
    - php: '7.3'
    - php: '7.4'
      after_success:
        - php bin/ocular.phar code-coverage:upload --format=php-clover artifacts/clover.xml
        - php bin/coveralls.phar -v

before_install:
  - composer config -g repositories.packagist path $(pwd)
  - composer global require 'hirak/prestissimo:@dev'
  - composer config -g --unset repositories.packagist

install:
  - composer install --no-progress --profile

script:
  - composer test

Support PHP 7.4 and upload code coverage only for latest PHP
Support PHP 7.4 and upload code coverage only for latest PHP
