sudo: false
language: php

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

env:
  - SYMFONY_VERSION=2.4.*
  - SYMFONY_VERSION=2.5.*
  - SYMFONY_VERSION=2.6.*

before_script:
  - mysql -e "create database symfony;"
  - composer require "symfony/symfony:${SYMFONY_VERSION}"

script:
#  - phpunit --coverage-clover coverage.xml
  - phpunit

after_success:
#  - php vendor/bin/coveralls

matrix:
  fast_finish: true

sudo: false
language: php

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

env:
  - SYMFONY_VERSION=2.4.*
  - SYMFONY_VERSION=2.5.*
  - SYMFONY_VERSION=2.6.*

before_script:
  - mysql -e "create database symfony;"
  - composer require "symfony/symfony:${SYMFONY_VERSION}"

script:
  - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpunit --coverage-clover coverage.xml --process-isolation; else phpunit; fi

after_success:
  - php vendor/bin/coveralls

matrix:
  fast_finish: true

Isolate tests to prevent failed builds
Isolate tests to prevent failed builds
