language: php

branches:
  only:
    - master

cache:
  directories:
  - vendor
  - venv

before_install: ./.travis/before_install.php
install: ./.travis/install.php
script: ./.travis/script.php

matrix:
  include:
    # old PHP versions with latest Symfony version
    - php: 5.6
      env: SYMFONY_VERSION=3.2.*
    - php: 7.0
      env: SYMFONY_VERSION=3.2.*
    # current PHP with all relevant Symfony versions
    - php: 7.1
      env: SYMFONY_VERSION=2.3.*
    - php: 7.1
      env: SYMFONY_VERSION=2.8.*
    - php: 7.1
      env: SYMFONY_VERSION=3.3.*
    - php: 7.1
      env: SYMFONY_VERSION=dev-master
  allow_failures:
    - env: SYMFONY_VERSION=dev-master

language: php

branches:
  only:
    - master

cache:
  directories:
  - vendor
  - venv

before_install: ./.travis/before_install.php
install: ./.travis/install.php
script: ./.travis/script.php

matrix:
  include:
    # old PHP versions with latest Symfony version
    - php: 5.6
      env: SYMFONY_VERSION=3.4.*
    - php: 7.0
      env: SYMFONY_VERSION=3.4.*
    # current PHP with all relevant Symfony versions
    - php: 7.1
      env: SYMFONY_VERSION=2.3.*
    - php: 7.1
      env: SYMFONY_VERSION=2.8.*
    - php: 7.1
      env: SYMFONY_VERSION=3.3.*
    - php: 7.1
      env: SYMFONY_VERSION=dev-master
  allow_failures:
    - env: SYMFONY_VERSION=dev-master

Use symfony 3.4 with older PHP versions
Use symfony 3.4 with older PHP versions
