language: php

php:
  - 5.6
  - 7.0

before_install:
  - echo "extension=ldap.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
  - composer self-update

install:
  - composer install --prefer-source --no-interaction --dev
  
script:
  - bin/phpspec run --format=pretty --no-interaction

language: php

php:
  - 5.6
  - 7.0
  - 7.1

before_install:
  - echo "extension=ldap.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
  - composer self-update

install:
  - composer install --prefer-source --no-interaction --dev
  
script:
  - bin/phpspec run --format=pretty --no-interaction

Add PHP 7.1 for Travis CI.
Add PHP 7.1 for Travis CI.
