Skip to content

Commit 7c919c4

Browse files
committed
Don't install ext-event and ext-ev loops on PHP 7.3
1 parent 79ca43c commit 7c919c4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

travis-init.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
66
"$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]]; then
77

88
# install 'event' and 'ev' PHP extension
9-
if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then
9+
if [[ "$TRAVIS_PHP_VERSION" != "5.3" &&
10+
"$TRAVIS_PHP_VERSION" != "7.3" ]]; then
1011
echo "yes" | pecl install event
1112
echo "yes" | pecl install ev
1213
fi
1314

1415
# install 'libevent' PHP extension (does not support php 7)
1516
if [[ "$TRAVIS_PHP_VERSION" != "7.0" &&
1617
"$TRAVIS_PHP_VERSION" != "7.1" &&
17-
"$TRAVIS_PHP_VERSION" != "7.2" ]]; then
18+
"$TRAVIS_PHP_VERSION" != "7.2" &&
19+
"$TRAVIS_PHP_VERSION" != "7.3" ]]; then
1820
curl http://pecl.php.net/get/libevent-0.1.0.tgz | tar -xz
1921
pushd libevent-0.1.0
2022
phpize
@@ -28,7 +30,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
2830
# install 'libev' PHP extension (does not support php 7)
2931
if [[ "$TRAVIS_PHP_VERSION" != "7.0" &&
3032
"$TRAVIS_PHP_VERSION" != "7.1" &&
31-
"$TRAVIS_PHP_VERSION" != "7.2" ]]; then
33+
"$TRAVIS_PHP_VERSION" != "7.2" &&
34+
"$TRAVIS_PHP_VERSION" != "7.3" ]]; then
3235
git clone --recursive https://github.com/m4rw3r/php-libev
3336
pushd php-libev
3437
phpize

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy