sudo: false

language: php

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

matrix:
  fast_finish: true
  include:
    - php: 5.5
      env: SYMFONY_VERSION='2.3.*'
    - php: 5.5
      env: SYMFONY_VERSION='2.7.*'
    - php: 5.6
      env: SYMFONY_VERSION='2.8.*'
    - php: 5.6
      env: SYMFONY_VERSION='3.0.*'

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

before_script:
  - composer install --prefer-source

script: vendor/bin/phpunit

sudo: false

language: php

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

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

matrix:
  fast_finish: true
  include:
    - php: 5.5
      env: SYMFONY_VERSION='2.3.*'
    - php: 5.5
      env: SYMFONY_VERSION='2.7.*'
    - php: 5.6
      env: SYMFONY_VERSION='2.8.*'
    - php: 5.6
      env: SYMFONY_VERSION='3.0.*'

install:
  - if [ "hhvm" != "$TRAVIS_PHP_VERSION" ]; then
        phpenv config-rm xdebug.ini;
    fi;
  - composer self-updateg
  - if [ "$SYMFONY_VERSION" != "" ]; then
        composer require --no-update "symfony/symfony:${SYMFONY_VERSION}";
    fi;

before_script:
  - composer install --prefer-source

script: vendor/bin/phpunit

Add cache and remove Xdebug
Add cache and remove Xdebug
