sudo: required
services: docker
before_install:
  - phpenv config-add travis-php.ini
  - docker run -d -p 6379:6379 redislabs/redisearch:latest --protected-mode no --loadmodule /var/lib/redis/modules/redisearch.so
language: php
php:
  - '7.0'
  - '7.1'
before_script:
  - pecl upgrade redis
  - composer install
script: vendor/bin/robo build

sudo: required
services: docker
before_install:
  - phpenv config-add travis-php.ini
  - docker run -d -p 6379:6379 redislabs/redisearch:latest --protected-mode no --loadmodule /var/lib/redis/modules/redisearch.so
language: php
php:
  - '7.0'
  - '7.1'
before_script:
  - printf "yes\n" | pecl upgrade redis
  - composer install
script: vendor/bin/robo build

Make pecl command silent in Travis build
Make pecl command silent in Travis build
