language: php

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

env:
  matrix:
  - DOCTRINE_ORM_VERSION=~2.1.0
  - DOCTRINE_ORM_VERSION=~2.2.0
  - DOCTRINE_ORM_VERSION=~2.3.0
  - DOCTRINE_ORM_VERSION=~2.4.0
  - DOCTRINE_ORM_VERSION=dev-master

matrix:
  exclude:
  - php: 5.3
    env: DOCTRINE_ORM_VERSION=dev-master
  allow_failures:
  - env: DOCTRINE_ORM_VERSION=dev-master
  - php: nightly

install: composer require "doctrine/orm:${DOCTRINE_ORM_VERSION}"

script: vendor/bin/phpunit

notifications:
  email:
    recipients:
      secure: GB+W4AQDJv8WkRp2L9C36ukQxFkMXZ0Z8Qe18hIUdTrjn+aK9ywj/jnDTIKIPKNxyh+9Zql2PoacQN8HArKpztcWYBuwpWos1Lk6pJwTzLuTO7XzatC+x80K9SOud4NC+ALQI1onfP07yjkftSRbwzpI5h+AydQIPNuKiN4BVkA=

language: php

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

env:
  matrix:
  - DOCTRINE_ORM_VERSION=~2.1.0
  - DOCTRINE_ORM_VERSION=~2.2.0
  - DOCTRINE_ORM_VERSION=~2.3.0
  - DOCTRINE_ORM_VERSION=~2.4.0
  - DOCTRINE_ORM_VERSION=dev-master

matrix:
  exclude:
  - php: 5.3
    env: DOCTRINE_ORM_VERSION=dev-master
  allow_failures:
  - env: DOCTRINE_ORM_VERSION=dev-master
  - php: nightly
  - php: hhvm

install: composer require "doctrine/orm:${DOCTRINE_ORM_VERSION}"

script: vendor/bin/phpunit

notifications:
  email:
    recipients:
      secure: GB+W4AQDJv8WkRp2L9C36ukQxFkMXZ0Z8Qe18hIUdTrjn+aK9ywj/jnDTIKIPKNxyh+9Zql2PoacQN8HArKpztcWYBuwpWos1Lk6pJwTzLuTO7XzatC+x80K9SOud4NC+ALQI1onfP07yjkftSRbwzpI5h+AydQIPNuKiN4BVkA=

Allow failure for hhvm until the Doctrine issue can be solved
Allow failure for hhvm until the Doctrine issue can be solved
