language: php

php:
  - 5.5
  - 5.6
  - 7.0
  - 7.1

install:
  - composer require --no-update symfony/http-foundation $SYMFONY_VERSION; composer install

script:
  - vendor/bin/phpunit
  - vendor/bin/php-cs-fixer fix -v --dry-run

env:
  - SYMFONY_VERSION: ~2
  - SYMFONY_VERSION: ~3
  - SYMFONY_VERSION: ~4

language: php

php:
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2

install:
  - composer require --no-update symfony/http-foundation $SYMFONY_VERSION; composer install

script:
  - vendor/bin/phpunit
  - vendor/bin/php-cs-fixer fix -v --dry-run

env:
  - SYMFONY_VERSION: ~2
  - SYMFONY_VERSION: ~3
  - SYMFONY_VERSION: ~4

Add PHP 7.2 to test matrix
Add PHP 7.2 to test matrix
