Skip to content

Commit 91ffeb1

Browse files
committed
Add PHP 7.1 to test matrix
1 parent 5f9c697 commit 91ffeb1

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
@@ -5,6 +5,7 @@ php:
55
- 5.5
66
- 5.6
77
- 7.0
8+
- 7.1
89
- hhvm
910

1011
sudo: false

travis-init.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
99
echo "yes" | pecl install event
1010

1111
# install 'libevent' PHP extension (does not support php 7)
12-
if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]]; then
12+
if [[ "$TRAVIS_PHP_VERSION" != "7.0" &&
13+
"$TRAVIS_PHP_VERSION" != "7.1" ]]; then
1314
curl http://pecl.php.net/get/libevent-0.1.0.tgz | tar -xz
1415
pushd libevent-0.1.0
1516
phpize
@@ -21,7 +22,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
2122
fi
2223

2324
# install 'libev' PHP extension (does not support php 7)
24-
if [[ "$TRAVIS_PHP_VERSION" != "7.0" ]]; then
25+
if [[ "$TRAVIS_PHP_VERSION" != "7.0" &&
26+
"$TRAVIS_PHP_VERSION" != "7.1" ]]; then
2527
git clone --recursive https://github.com/m4rw3r/php-libev
2628
pushd php-libev
2729
phpize

0 commit comments

Comments
 (0)