language: php

php:
    - 5.4
    - 5.6
    - 7.0
    - hhvm

sudo: false

cache:
  directories:
    - $HOME/.composer/cache

before_script:
    - if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION}; fi;
    - composer require videlalvaro/php-amqplib:2.2.*
    - composer require react/event-loop:0.4.*
    - composer require zendframework/zend-json:2.0.*

install:
    - composer self-update

script:
    - phpunit --coverage-text

matrix:
    fast_finish: true
    include:
      - php: 5.6
        env: SYMFONY_VERSION='2.7.*'
      - php: 5.6
        env: SYMFONY_VERSION='2.8.*@dev'
      - php: 5.6
        env: SYMFONY_VERSION='3.0.*@dev'

services:
    rabbitmq


language: php

php:
    - 5.4
    - 5.6
    - 7.0
    - hhvm

sudo: false

cache:
  directories:
    - $HOME/.composer/cache

before_script:
    - if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION}; fi;
    - composer require php-amqplib/php-amqplib:2.6.*
    - composer require react/event-loop:0.4.*
    - composer require zendframework/zend-json:2.0.*

install:
    - composer self-update

script:
    - phpunit --coverage-text

matrix:
    fast_finish: true
    include:
      - php: 5.6
        env: SYMFONY_VERSION='2.7.*'
      - php: 5.6
        env: SYMFONY_VERSION='2.8.*@dev'
      - php: 5.6
        env: SYMFONY_VERSION='3.0.*@dev'

services:
    rabbitmq


Use php-amqplib to test RabbMQ
[Travis] Use php-amqplib to test RabbMQ
