Skip to content

Commit 52bbf89

Browse files
committed
Fix travis: skip ev extension installation if PHP version is 5.3.
1 parent b325a88 commit 52bbf89

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

travis-init.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ set -o pipefail
55
if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
66
"$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]]; then
77

8-
# install 'event' PHP extension
8+
# install 'event' and 'ev' PHP extension
99
if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then
1010
echo "yes" | pecl install event
11+
echo "yes" | pecl install ev
1112
fi
1213

13-
# install 'ev' PHP extension
14-
echo "yes" | pecl install ev
15-
1614
# install 'libevent' PHP extension (does not support php 7)
1715
if [[ "$TRAVIS_PHP_VERSION" != "7.0" &&
1816
"$TRAVIS_PHP_VERSION" != "7.1" &&

0 commit comments

Comments
 (0)