language: php
dist: trusty

php:
  - 7.3
  - 7.2
  - 7.1
  - 5.6

env:
  - SYMFONY_VERSION=2.8.*
  - SYMFONY_VERSION=2.7.*

matrix:
  fast_finish: true
  include:
    - php: 7.3
      env: SYMFONY_VERSION=4.0.*
    - php: 7.3
      env: SYMFONY_VERSION=4.1.*
    - php: 7.3
      env: SYMFONY_VERSION=4.2.*
    - php: 7.3
      env: SYMFONY_VERSION=3.4
    - php: 7.2
      env: SYMFONY_VERSION=4.0.*
    - php: 7.2
      env: SYMFONY_VERSION=4.1.*
    - php: 7.2
      env: SYMFONY_VERSION=4.2.*
    - php: 7.2
      env: SYMFONY_VERSION=3.4
    - php: 7.1
      env: SYMFONY_VERSION=4.0.*
    - php: 7.1
      env: SYMFONY_VERSION=4.1.*
    - php: 7.1
      env: SYMFONY_VERSION=4.2.*
    - php: 7.1
      env: SYMFONY_VERSION=3.4

cache:
  directories:
    - $COMPOSER_CACHE_DIR

before_script:
  - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
  - composer require --prefer-source --no-interaction symfony/symfony:${SYMFONY_VERSION}

script:
  - mkdir -p build/logs
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - if [ "$TRAVIS_PHP_VERSION" == "7.3" ]; then php vendor/bin/php-coveralls -v --exclude-no-stmt; fi

language: php

php:
  - 7.3
  - 7.2
  - 7.1

env:
  - SYMFONY_VERSION=4.2.*
  - SYMFONY_VERSION=4.1.*
  - SYMFONY_VERSION=4.0.*
  - SYMFONY_VERSION=3.4.*
  - SYMFONY_VERSION=2.8.*
  - SYMFONY_VERSION=2.7.*

cache:
  directories:
    - $COMPOSER_CACHE_DIR

before_script:
  - echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
  - composer require --prefer-source --no-interaction symfony/symfony:${SYMFONY_VERSION}

script:
  - mkdir -p build/logs
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - if [ "$TRAVIS_PHP_VERSION" == "7.3" ]; then php vendor/bin/php-coveralls -v --exclude-no-stmt; fi

Remove php 5.x from test matrix
Remove php 5.x from test matrix
