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.8.0
  - SYMFONY_VERSION: ~3.2.0

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

Add Symfony 4 to test matrix
Add Symfony 4 to test matrix
