language: php

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

before_script:
  - composer self-update
  - composer install --prefer-source
  - app/console doctrine:database:create -e=test
  - app/console doctrine:phpcr:init:dbal -e=test
  - app/console doctrine:phpcr:workspace:create standard_test -e=test
  - app/console doctrine:phpcr:repository:init -e=test

script: phpunit -c app

notifications:
  irc: "irc.freenode.org#symfony-cmf"
  email: "symfony-cmf-devs@googlegroups.com"

language: php

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

sudo: false

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

before_script:
  - composer self-update
  - composer install --prefer-dist
  - app/console doctrine:database:create -e=test
  - app/console doctrine:phpcr:init:dbal -e=test
  - app/console doctrine:phpcr:workspace:create standard_test -e=test
  - app/console doctrine:phpcr:repository:init -e=test

script: phpunit -c app

notifications:
  irc: "irc.freenode.org#symfony-cmf"
  email: "symfony-cmf-devs@googlegroups.com"

Use new Travis docker based env and caching
Use new Travis docker based env and caching