Fix extension configuration in build configurations

This commit is contained in:
Thibaud Fabre
2016-10-06 09:56:59 +02:00
parent 2f2c422076
commit f74e0bfc7d
2 changed files with 1 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ before_install:
- 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
- echo "extension=amqp.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.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;

View File

@@ -24,7 +24,6 @@ dependencies:
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
- pecl install json
- yes '' | pecl install zmq-beta