8000 Merge pull request #174 from WyriHaximus-labs/travis-7.3 · reedy/reactphp-event-loop@d57bc26 · GitHub
[go: up one dir, main page]

Skip to content

Commit d57bc26

Browse files
authored
Merge pull request reactphp#174 from WyriHaximus-labs/travis-7.3
Test against PHP 7.3 on travis
2 parents 0266aff + 7c919c4 commit d57bc26

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ php:
88
- 7.0
99
- 7.1
1010
- 7.2
11+
- 7.3
1112
- hhvm # ignore errors, see below
1213

1314
# lock distro so new future defaults will not break the build

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)
0