language: php

services:
  - mongodb

php:
  - 5.4
  - 5.5
  - 5.6

before_script:
  - echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - composer self-update
  - composer install --dev -o

script: phpunit --coverage-text

language: php

services:
  - mongodb

php:
  - 5.4
  - 5.5
  - 5.6

sudo: false

before_script:
  - echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - composer self-update
  - composer install --dev -o

script: phpunit --coverage-text

Set sudo false in Travis config
Set sudo false in Travis config
