mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Add RabbitMQ to build configurations
This commit is contained in:
@@ -31,6 +31,7 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
- memcached
|
- memcached
|
||||||
- redis
|
- redis
|
||||||
|
- rabbitmq
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- nvm install stable
|
- 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="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
|
- echo "extension=zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
||||||
- yes | pecl install imagick-beta
|
- 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:
|
install:
|
||||||
- if [[ $TRAVIS_PHP_VERSION = 5.* ]];then travis_retry composer install --no-progress --no-interaction --optimize-autoloader; fi;
|
- 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;
|
- if [[ $TRAVIS_PHP_VERSION = 7.* ]];then travis_retry composer update --no-progress --no-interaction --optimize-autoloader; fi;
|
||||||
|
@@ -14,6 +14,7 @@ machine:
|
|||||||
- memcached
|
- memcached
|
||||||
- redis
|
- redis
|
||||||
- mysql
|
- mysql
|
||||||
|
- rabbitmq-server
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
cache_directories:
|
cache_directories:
|
||||||
@@ -21,6 +22,9 @@ dependencies:
|
|||||||
- node_modules
|
- node_modules
|
||||||
- ~/.composer
|
- ~/.composer
|
||||||
pre:
|
pre:
|
||||||
|
- 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
|
||||||
- yes '' | pecl install imagick
|
- yes '' | pecl install imagick
|
||||||
- pecl install json
|
- pecl install json
|
||||||
- yes '' | pecl install zmq-beta
|
- yes '' | pecl install zmq-beta
|
||||||
@@ -33,7 +37,6 @@ dependencies:
|
|||||||
- if [[ ! -e elasticsearch-1.6.0 ]]; then wget --no-check-certificate https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.tar.gz && tar -xvf elasticsearch-1.6.0.tar.gz && elasticsearch-1.6.0/bin/plugin install elasticsearch/elasticsearch-analysis-icu/2.6.0; fi
|
- if [[ ! -e elasticsearch-1.6.0 ]]; then wget --no-check-certificate https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.6.0.tar.gz && tar -xvf elasticsearch-1.6.0.tar.gz && elasticsearch-1.6.0/bin/plugin install elasticsearch/elasticsearch-analysis-icu/2.6.0; fi
|
||||||
- elasticsearch-1.6.0/bin/elasticsearch: {background: true}
|
- elasticsearch-1.6.0/bin/elasticsearch: {background: true}
|
||||||
|
|
||||||
|
|
||||||
database:
|
database:
|
||||||
override:
|
override:
|
||||||
- mysql -u ubuntu -e 'CREATE DATABASE update39_test;CREATE DATABASE ab_test;CREATE DATABASE db_test;SET @@global.sql_mode=STRICT_ALL_TABLES;SET @@global.max_allowed_packet=33554432;SET @@global.wait_timeout=999999;';
|
- mysql -u ubuntu -e 'CREATE DATABASE update39_test;CREATE DATABASE ab_test;CREATE DATABASE db_test;SET @@global.sql_mode=STRICT_ALL_TABLES;SET @@global.max_allowed_packet=33554432;SET @@global.wait_timeout=999999;';
|
||||||
|
Reference in New Issue
Block a user