Skip to content

Commit

Permalink
minor #30057 New extensions were released supporting PHP 7.3 (tvlooy)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.2 branch.

Discussion
----------

New extensions were released supporting PHP 7.3

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | see travis
| License       | MIT

Requested in #30030

Commits
-------

31de71d New extensions were released supporting PHP 7.3
  • Loading branch information
nicolas-grekas committed Feb 8, 2019
2 parents 717dcc9 + 31de71d commit ba54881
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .travis.yml
Expand Up @@ -13,7 +13,6 @@ addons:
- slapd
- zookeeperd
- libzookeeper-mt-dev
- libsasl2-dev

env:
global:
Expand Down Expand Up @@ -50,6 +49,7 @@ before_install:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157
sudo add-apt-repository -y ppa:ondrej/php
sudo apt update
sudo apt install -y librabbitmq-dev libsodium-dev
- |
# Start Redis cluster
Expand Down Expand Up @@ -153,8 +153,6 @@ before_install:
phpenv global $PHP
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
if ! php --ri sodium > /dev/null; then
# install libsodium
sudo apt-get install libsodium-dev -y
tfold ext.libsodium tpecl libsodium sodium.so $INI
fi
Expand All @@ -163,22 +161,7 @@ before_install:
tfold ext.igbinary tpecl igbinary-2.0.8 igbinary.so $INI
tfold ext.zookeeper tpecl zookeeper-0.6.0 zookeeper.so $INI
if [[ $PHP != 7.3 ]]; then
wget http://ftp.debian.org/debian/pool/main/libr/librabbitmq/librabbitmq-dev_0.5.2-2_amd64.deb
wget http://ftp.debian.org/debian/pool/main/libr/librabbitmq/librabbitmq1_0.5.2-2_amd64.deb
sudo dpkg -i librabbitmq1_0.5.2-2_amd64.deb librabbitmq-dev_0.5.2-2_amd64.deb
tfold ext.amqp tpecl amqp-1.9.3 amqp.so $INI
else
sudo apt install -y librabbitmq-dev
git clone https://github.com/pdezwart/php-amqp.git
cd php-amqp
phpize
./configure
make
sudo make install
cd -
echo extension = amqp.so >> $INI
fi
tfold ext.amqp tpecl amqp-1.9.4 amqp.so $INI
done
- |
Expand Down

0 comments on commit ba54881

Please sign in to comment.