Skip to content

Commit 37ee2ee

Browse files
authored
allow php8 (#51)
* allow php8 * add nightly (8rc) * adjust ci
1 parent 879ac47 commit 37ee2ee

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
- DEPENDENCIES="stable"
3838
script:
3939
- PHP=php make coverage
40+
- stage: coverage
41+
php: 'nightly'
42+
env:
43+
- DEPENDENCIES="stable"
44+
script:
45+
- PHP=php make coverage
4046
- stage: integration
4147
php: '7.4'
4248
env:
@@ -118,6 +124,15 @@ jobs:
118124
script:
119125
- make platform
120126
- PHP=php make phpunit-integration
127+
- stage: integration
128+
php: 'nightly'
129+
env:
130+
- DEPENDENCIES="stable"
131+
- INTEGRATION_TEST="enabled"
132+
- CONFLUENT_VERSION=6.0.0
133+
script:
134+
- make platform
135+
- PHP=php make phpunit-integration
121136
after_script:
122137
- make clean
123138

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.3",
14+
"php": "^7.3|^8.0",
1515
"ext-curl": "*",
1616
"ext-json": "*",
1717
"psr/http-client": "~1.0",
@@ -21,7 +21,7 @@
2121
"flix-tech/avro-php": "^4.1"
2222
},
2323
"require-dev": {
24-
"phpunit/phpunit": "^8.2.3",
24+
"phpunit/phpunit": "^8.2.3|^9.0",
2525
"phpstan/phpstan": "^0.12",
2626
"raphhh/trex-reflection": "~1.0",
2727
"doctrine/cache": "~1.3",

0 commit comments

Comments
 (0)