language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - hhvm

matrix:
  allow_failures:
    - php: 7

before_script:
  - wget http://getcomposer.org/composer.phar
  - php composer.phar install --dev --prefer-source --no-interaction

script:
  - mkdir -p build/logs
  - phpunit --coverage-clover build/logs/clover.xml

after_script: php vendor/bin/coveralls -v

notifications:
  email:
    - hello@lennerd.com

language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - hhvm

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

env:
  - SYMFONY_VERSION=2.3.*

matrix:
  allow_failures:
    - php: 7
  include:
    - php: 5.6
      env: SYMFONY_VERSION=3.0.*@dev
    - php: 7
      env: SYMFONY_VERSION=3.0.*@dev

before_script:
  - composer self-update
  - composer require symfony/symfony:${SYMFONY_VERSION} --no-update

install: composer update --prefer-source

script:
  - mkdir -p build/logs
  - phpunit --coverage-clover build/logs/clover.xml

after_script: php vendor/bin/coveralls -v

notifications:
  email:
    - hello@lennerd.com

Add Travis configuration to test also against Symfony 3.0 and speed up testing.
Add Travis configuration to test also against Symfony 3.0 and speed up testing.
