Skip to content

Commit 3cc2bcd

Browse files
authored
Merge pull request #179 from GrahamCampbell/patch-1
Install test coverage of Symfony and PSR-17
2 parents b3ecadf + bccf15f commit 3cc2bcd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ matrix:
7676
- install_test will-find "Http\Discovery\Psr18ClientDiscovery::find();" "php-http/guzzle6-adapter:^2.0.1"
7777
# Test that we find PSR-18 Guzzle 7
7878
- install_test will-find "Http\Discovery\Psr18ClientDiscovery::find();" "guzzlehttp/guzzle:^7.0.1"
79+
# Test that we find PSR-18 Symfony 4
80+
- install_test will-find "Http\Discovery\Psr18ClientDiscovery::find();" "symfony/http-client:4.* php-http/httplug nyholm/psr7:^1.3"
81+
# Test that we find PSR-18 Symfony 5
82+
- install_test will-find "Http\Discovery\Psr18ClientDiscovery::find();" "symfony/http-client:5.* php-http/httplug nyholm/psr7:^1.3"
83+
# Test that we find PSR-17 http-interop
84+
- install_test will-find "Http\Discovery\Psr17FactoryDiscovery::findRequestFactory();" "http-interop/http-factory-guzzle:1.*"
85+
# Test that we find PSR-17 nyholm
86+
- install_test will-find "Http\Discovery\Psr17FactoryDiscovery::findRequestFactory();" "nyholm/psr7:^1.3"
7987

8088
before_install:
8189
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi

0 commit comments

Comments
 (0)