language: php

sudo: required

php:
  - 5.5
  - 5.6
  - hhvm

env:
  # Current we only support 1.4.5 because of hhvm and mongofill
  - MONGO_VERSION=1.4.5 

services: mongodb

before_script:
  - ./setup_mongo.sh
  - composer self-update
  - composer install

script: phpunit

language: php

sudo: required

php:
  - 5.5
  - 5.6
  - hhvm

env:
  - MONGO_VERSION=1.4.5
  - MONGO_VERSION=1.5.8
  - MONGO_VERSION=1.6.6

services: mongodb

before_script:
  - ./setup_mongo.sh
  - composer self-update
  - composer install

script: phpunit

matrix:
  exclude:
    - php: hhvm
      env: MONGO_VERSION=1.5.8
      env: MONGO_VERSION=1.6.6

Test with pecl mongo 1.4.5, 1.5.8 and 1.6.6
Test with pecl mongo 1.4.5, 1.5.8 and 1.6.6
