language: php

cache:
  directories:
    - .phpunit

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - nightly

before_install:
  - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi
  - composer self-update

install:
  - if [[ $TRAVIS_PHP_VERSION != '5.5' ]]; then composer install ; fi
  - if [[ $TRAVIS_PHP_VERSION == '5.5' ]]; then composer update --prefer-lowest ; fi

script:
  - export SYMFONY_PHPUNIT_DIR=`pwd`/.phpunit
  - ./vendor/bin/simple-phpunit

language: php

cache:
  directories:
    - .phpunit

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - nightly

before_install:
  - phpenv config-rm xdebug.ini || true
  - composer self-update

install:
  - if [[ $TRAVIS_PHP_VERSION != '5.5' ]]; then composer install ; fi
  - if [[ $TRAVIS_PHP_VERSION == '5.5' ]]; then composer update --prefer-lowest ; fi

script:
  - export SYMFONY_PHPUNIT_DIR=`pwd`/.phpunit
  - ./vendor/bin/simple-phpunit

Remove build on 5.3, be resilient if xdebug is not installed
Remove build on 5.3, be resilient if xdebug is not installed
