Skip to content

Commit f5afd07

Browse files
authored
Merge pull request #124 from carusogabriel/patch-1
Test against PHP 7.2
2 parents 7bc0172 + c619c8b commit f5afd07

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ php:
66
- 5.6
77
- 7.0
88
- 7.1
9+
- 7.2
910
- hhvm # ignore errors, see below
1011

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

travis-init.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
1010

1111
# install 'libevent' PHP extension (does not support php 7)
1212
if [[ "$TRAVIS_PHP_VERSION" != "7.0" &&
13-
"$TRAVIS_PHP_VERSION" != "7.1" ]]; then
13+
"$TRAVIS_PHP_VERSION" != "7.1" &&
14+
"$TRAVIS_PHP_VERSION" != "7.2" ]]; then
1415
curl http://pecl.php.net/get/libevent-0.1.0.tgz | tar -xz
1516
pushd libevent-0.1.0
1617
phpize
@@ -23,7 +24,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
2324

2425
# install 'libev' PHP extension (does not support php 7)
2526
if [[ "$TRAVIS_PHP_VERSION" != "7.0" &&
26-
"$TRAVIS_PHP_VERSION" != "7.1" ]]; then
27+
"$TRAVIS_PHP_VERSION" != "7.1" &&
28+
"$TRAVIS_PHP_VERSION" != "7.2" ]]; then
2729
git clone --recursive https://github.com/m4rw3r/php-libev
2830
pushd php-libev
2931
phpize

0 commit comments

Comments
 (0)