8000 Merge pull request #197 from WyriHaximus-labs/travis-fix-uv · Undefined-Variables/event-loop@babf91e · GitHub
[go: up one dir, main page]

Skip to content

Commit babf91e

Browse files
authored
Merge pull request reactphp#197 from WyriHaximus-labs/travis-fix-uv
Fix testing ext-uv on Travis
2 parents 060092e + 5e66968 commit babf91e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ language: php
22

33
php:
44
# - 5.3 # requires old distro, see below
5-
- 5.4
6-
- 5.5
5+
# - 5.4 # requires old distro, see below
6+
# - 5.5 # requires old distro, see below
77
- 5.6
88
- 7.0
99
- 7.1
@@ -12,12 +12,16 @@ php:
1212
# - hhvm # requires legacy phpunit & ignore errors, see below
1313

1414
# lock distro so new future defaults will not break the build
15-
dist: trusty
15+
dist: xenial
1616

1717
matrix:
1818
include:
1919
- php: 5.3
2020
dist: precise
21+
- php: 5.4
22+
dist: trusty
23+
- php: 5.5
24+
dist: trusty
2125
- php: hhvm
2226
install: composer require phpunit/phpunit:^5 --dev --no-interaction
2327
allow_failures:

travis-init.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
4545
# install 'libuv' PHP extension (does not support php 5)
4646
if [[ "$TRAVIS_PHP_VERSION" = "7.0" ||
4747
"$TRAVIS_PHP_VERSION" = "7.1" ||
48-
"$TRAVIS_PHP_VERSION" = "7.2" ]]; then
48+
"$TRAVIS_PHP_VERSION" = "7.2" ||
49+
"$TRAVIS_PHP_VERSION" = "7.3" ]]; then
4950
echo "yes" | pecl install uv-beta
5051
fi
5152

0 commit comments

Comments
 (0)
0