language: php
services:
  - memcached
php:
  - '5.6'
  - '7.0'
before_script: composer install

sudo: required

language: php
php:
  - '5.6'
  - '7.0'

services:
  - memcached

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

Fix to enable memcached and extension.
Fix to enable memcached and extension.
