language: php

php:
  - 5.3
  - 5.4
  - 5.5

matrix:
  allow_failures:
    - php: 5.5

env: MONGO_VERSION=1.3.4

services: mongodb

before_script:
  - composer install --dev --prefer-source

script: php bin/phpspec run -f pretty

notifications:
    email: "travis-ci@sylius.org"
    irc:   "irc.freenode.org#sylius-dev"

language: php

php:
  - 5.3
  - 5.4
  - 5.5

matrix:
  allow_failures:
    - php: 5.5

env: MONGO_VERSION=1.3.4

services: mongodb

before_script:
    - wget http://pecl.php.net/get/mongo-1.2.10.tgz
    - tar -xzf mongo-1.2.10.tgz
    - sh -c "cd mongo-1.2.10 && phpize && ./configure && sudo make install"
    - echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
    - composer install --dev --prefer-source

script: php bin/phpspec run -f pretty

notifications:
    email: "travis-ci@sylius.org"
    irc:   "irc.freenode.org#sylius-dev"

Install mongo php ext without pecl
Install mongo php ext without pecl
