Skip to content

Commit db5ca50

Browse files
committed
CI: Update travis matrix to test on curl-client v2.
This will blacklist the curl-client v1 installation since there is no way to detect which version is installed and adapt the Factory based on that information.
1 parent bf4b8fb commit db5ca50

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ matrix:
4545

4646
# Test with httplug 1.x clients
4747
- php: 7.2
48-
env: DEPENDENCIES="php-http/buzz-adapter:^1.0 php-http/curl-client:^1.0 php-http/guzzle6-adapter:^1.1.1 php-http/react-adapter:^0.2.1 php-http/socket-client:^1.0"
48+
env: DEPENDENCIES="php-http/buzz-adapter:^1.0 php-http/guzzle6-adapter:^1.1.1 php-http/react-adapter:^0.2.1 php-http/socket-client:^1.0"
4949

5050
# Test with httplug 2.x clients
5151
- php: 7.2
52-
env: DEPENDENCIES="php-http/guzzle6-adapter:^2.0.1"
52+
env: DEPENDENCIES="php-http/guzzle6-adapter:^2.0.1 php-http/curl-client:^2.0.0"
5353

5454
# Latest commit to master
5555
- php: 7.3

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"twig/twig": "^1.36 || ^2.6"
5555
},
5656
"conflict": {
57-
"php-http/guzzle6-adapter": "<1.1"
57+
"php-http/guzzle6-adapter": "<1.1",
58+
"php-http/curl-client": "<2.0"
5859
},
5960
"suggest": {
6061
"twig/twig": "Add this to your require-dev section when using the WebProfilerBundle",

0 commit comments

Comments
 (0)