Add RabbitMQ to build configurations

This commit is contained in:
Thibaud Fabre
2016-10-06 09:48:41 +02:00
parent 7b18eda9bb
commit 2f2c422076
2 changed files with 8 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ services:
- mysql
- memcached
- redis
- rabbitmq
before_install:
- nvm install stable
@@ -46,6 +47,9 @@ before_install:
- echo 'extension="memcached.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- echo "extension=zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- yes | pecl install imagick-beta
- sudo apt-get install librabbitmq-dev
- pecl install amqp-1.4.0
- echo "extension=amqp.so" > /opt/circleci/.phpenv/versions/$(phpenv global)/etc/conf.d/amqp.ini
install:
- if [[ $TRAVIS_PHP_VERSION = 5.* ]];then travis_retry composer install --no-progress --no-interaction --optimize-autoloader; fi;
- if [[ $TRAVIS_PHP_VERSION = 7.* ]];then travis_retry composer update --no-progress --no-interaction --optimize-autoloader; fi;