Skip to content

Commit aa72ff2

Browse files
authored
CI tests with php 8.0 (#64)
Add PHP 8.0 to CI tests, Drop PHP 7.0 - 7.2 from CI Test (due upgraded phpunit requirements - these are versions EOL)
1 parent d62f769 commit aa72ff2

16 files changed

+1132
-536
lines changed

.github/workflows/php.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
operating-system: [ubuntu-latest]
11-
php-version: ['7.0', '7.1', '7.2', '7.3', '7.4']
11+
php-version: ['7.3', '7.4', '8.0']
1212
name: PHP ${{ matrix.php-version }} Test on ${{ matrix.operating-system }}
1313
steps:
1414
- uses: actions/checkout@v2

.travis.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@ cache:
77
- $HOME/.composer/cache
88

99
php:
10-
- 7.0
11-
- 7.1
12-
- 7.2
1310
- 7.3
1411
- 7.4
12+
- nightly
1513

1614
env:
1715
- ARCH=64bit
1816
- ARCH=32bit
1917

18+
matrix:
19+
exclude:
20+
- php: nightly
21+
env: ARCH=32bit
22+
2023
before_install:
2124
- travis_retry composer self-update
2225

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"type": "library",
88
"license": "Apache-2.0",
99
"require": {
10-
"php": "^7.0"
10+
"php": "^7.0 || ^8.0"
1111
},
1212
"require-dev": {
13-
"phpunit/phpunit": "^6.0",
14-
"react/datagram": "^1.4",
15-
"react/socket": "^0.8",
16-
"react/child-process": "^0.5.2",
13+
"phpunit/phpunit": "^9.0",
14+
"react/datagram": "^1.5",
15+
"react/socket": "^1.6",
16+
"react/child-process": "^0.6",
1717
"psr/log": "^1.0"
1818
},
1919
"suggest": {

0 commit comments

Comments
 (0)