language: php

sudo: false

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm

matrix:
  include:
    - php: 5.6
      env: SYMFONY_VERSION='~2.8'
    - php: 5.6
      env: SYMFONY_VERSION='~3.0'

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

before_install:
  - composer self-update
  - sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony=$SYMFONY_VERSION; fi;'

install: composer install

script:
  - vendor/bin/phpunit
language: php

sudo: false

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - hhvm

matrix:
  include:
    - php: 5.6
      env: SYMFONY_VERSION='~2.7'
    - php: 5.6
      env: SYMFONY_VERSION='~2.8'
    - php: 5.6
      env: SYMFONY_VERSION='~3.0'

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

before_install:
  - composer self-update
  - sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony=$SYMFONY_VERSION; fi;'

install: composer install

script:
  - vendor/bin/phpunit

Add Symfony 2.7 to Travis execution
Add Symfony 2.7 to Travis execution