File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,6 @@ branches:
26
26
27
27
matrix :
28
28
fast_finish : true
29
- allow_failures :
30
- - php : hhvm
31
29
include :
32
30
- php : 5.5
33
31
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.7.*
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ public function registerBundles()
21
21
*/
22
22
public function registerContainerConfiguration (LoaderInterface $ loader )
23
23
{
24
- $ loader ->load (__DIR__ .'/config/config.yml ' );
24
+ $ runtime = 'php ' ;
25
+ if (defined ('HHVM_VERSION ' )) {
26
+ $ runtime = 'hhvm ' ;
27
+ }
28
+ $ loader ->load (__DIR__ .'/config/config_ ' .$ runtime .'.yml ' );
25
29
}
26
30
27
31
/**
Original file line number Diff line number Diff line change
1
+ framework :
2
+ secret : php-http
3
+ test : ~
4
+
5
+ # Do not use auto discovery
6
+ httplug :
7
+ classes :
8
+ client : Http\Adapter\Guzzle6\Client
9
+ message_factory : Http\Message\MessageFactory\GuzzleMessageFactory
10
+ uri_factory : Http\Message\UriFactory\GuzzleUriFactory
11
+ stream_factory : Http\Message\StreamFactory\GuzzleStreamFactory
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ framework:
2
2
secret : php-http
3
3
test : ~
4
4
5
+ # Use auto discovery
5
6
httplug : ~
You can’t perform that action at this time.
0 commit comments