language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7
  
env:
  - DOCTRINE_VERSION=2.1.*
  - DOCTRINE_VERSION=2.2.*
  - DOCTRINE_VERSION=2.3.*
  - DOCTRINE_VERSION=2.4.*

install:
  - composer self-update
  - composer install
  - composer require doctrine/orm:${DOCTRINE_VERSION} --dev --prefer-source --update-with-dependencies

notifications:
  email: false

script: vendor/bin/phpunit

cache:
  directories:
    - $COMPOSER_CACHE_DIR

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7
  
env:
  - DOCTRINE_VERSION=2.1.*
  - DOCTRINE_VERSION=2.2.*
  - DOCTRINE_VERSION=2.3.*
  - DOCTRINE_VERSION=2.4.*
  - DOCTRINE_VERSION=2.5.*

install:
  - composer self-update
  - composer install
  - composer require doctrine/orm:${DOCTRINE_VERSION} --dev --prefer-source --update-with-dependencies

notifications:
  email: false

script: vendor/bin/phpunit

cache:
  directories:
    - $COMPOSER_CACHE_DIR

Revert "Avoid testing against Doctrime 2.5 (temporarily), fails"
Revert "Avoid testing against Doctrime 2.5 (temporarily), fails"

This reverts commit 8968d3eabae17a1fdd449183c7e2cb72d0946057.
