language: php
php:
  - 5.3
  - 5.4
  - 5.5
services:
  - redis-server
install:
  - |
      git clone https://github.com/redis/hiredis.git \
      && pushd hiredis \
      && make \
      && sudo make install \
      && popd
  - |
      git clone https://github.com/nrk/phpiredis.git \
      && pushd phpiredis \
      && phpize \
      && ./configure --enable-phpiredis \
      && make \
      && make install \
      && popd
  - phpenv config-add phpiredis.ini
  - composer self-update
before_script:
  - composer install

language: php
php:
  - 5.4
  - 5.5
  - 5.6
services:
  - redis-server
install:
  - |
      git clone https://github.com/redis/hiredis.git \
      && pushd hiredis \
      && make \
      && sudo make install \
      && popd
  - |
      git clone https://github.com/nrk/phpiredis.git \
      && pushd phpiredis \
      && phpize \
      && ./configure --enable-phpiredis \
      && make \
      && make install \
      && popd
  - phpenv config-add phpiredis.ini
  - composer self-update
before_script:
  - composer install

Remove PHP 5.3 from Travis CI builds, add PHP 5.6.
[tests] Remove PHP 5.3 from Travis CI builds, add PHP 5.6.

React/event-loop 0.4 does not support PHP 5.3 anymore, which also mean
that Predis\Async 0.3 will be compatible with PHP >= 5.4.
