language: php

env:
  global:
    - SYMFONY_DEPRECATIONS_HELPER=weak

git:
    depth: 10

sudo: false

cache:
  directories:
    - $HOME/.composer/cache

matrix:
  include:
    - php: 7.1
      env:
        - SYMFONY_REQUIRE=^4
        - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
    - php: 7.2
      env: SYMFONY_REQUIRE=^4
    - php: 7.3
      env: SYMFONY_REQUIRE=^4
    - php: 7.4
      env: SYMFONY_REQUIRE=^4
    - php: 7.2
      env:
        - SYMFONY_REQUIRE=^5
        - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
    - php: 7.3
      env: SYMFONY_REQUIRE=^5
    - php: 7.4
      env: SYMFONY_REQUIRE=^5

before_install:
    - composer global require --no-progress --no-scripts --no-plugins symfony/flex

install:
    - composer update $COMPOSER_FLAGS

script:
    - bin/phpunit

notifications:
  email:
    - payumsupport@forma-pro.com

language: php

env:
  global:
    - SYMFONY_DEPRECATIONS_HELPER=weak

git:
    depth: 10

sudo: false

cache:
  directories:
    - $HOME/.composer/cache

matrix:
  include:
    - php: 7.1
      env:
        - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"
    - php: 7.2
    - php: 7.3
    - php: 7.4
    - php: 7.2
      env:
        - COMPOSER_FLAGS="--prefer-lowest --prefer-stable"

before_install:
    - composer global require --no-progress --no-scripts --no-plugins symfony/flex

install:
    - composer update $COMPOSER_FLAGS

script:
    - bin/phpunit

notifications:
  email:
    - payumsupport@forma-pro.com

Remove un-used env vars in Travis config and remove duplicate test runs
Remove un-used env vars in Travis config and remove duplicate test runs
