File tree Expand file tree Collapse file tree 4 files changed +12
-20
lines changed Expand file tree Collapse file tree 4 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
3
php :
4
- - 5.4
5
4
- 5.5
6
5
- 5.6
7
6
- hhvm
12
11
13
12
matrix :
14
13
include :
15
- - php : 5.4
14
+ - php : 5.5
16
15
env : SYMFONY_VERSION=2.3.* VARNISH_VERSION=3.0 COMPOSER_FLAGS="--prefer-lowest"
17
16
18
17
branches :
@@ -22,8 +21,6 @@ branches:
22
21
- ' /^\d+\.\d+$/'
23
22
24
23
install :
25
- - if [[ "$TRAVIS_PHP_VERSION" == "5.4" ]]; then composer remove "php-http/guzzle6-adapter" --dev --no-update; fi
26
- - if [[ "$TRAVIS_PHP_VERSION" == "5.4" ]]; then composer require "php-http/guzzle5-adapter" --dev --no-update; fi
27
24
- composer update $COMPOSER_FLAGS --prefer-source --no-interaction
28
25
29
26
before_script :
Original file line number Diff line number Diff line change 23
23
"minimum-stability" : " dev" ,
24
24
"prefer-stable" : true ,
25
25
"require" : {
26
- "php" : " >=5.4.8 " ,
26
+ "php" : " >=5.5.9 " ,
27
27
"symfony/event-dispatcher" : " ^2.3||^3.0" ,
28
28
"symfony/options-resolver" : " ^2.3||^3.0" ,
29
29
"php-http/client-implementation" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -36,12 +36,9 @@ The library also includes functional tests against a Varnish and NGINX instance.
36
36
The functional test suite by default uses PHP’s built-in web server. If you have
37
37
PHP 5.4 or newer, simply run with the default configuration.
38
38
39
- If you want to run the tests on PHP 5.3 , you need to configure a web server
39
+ If you want to run the tests on HHVM _ , you need to configure a web server
40
40
listening on localhost:8080 that points to the folder
41
- ``tests/Functional/Fixtures/web ``.
42
-
43
- If you want to run the tests on HHVM _, you need to configure a web server and
44
- start a `HHVM FastCGI server `_.
41
+ ``tests/Functional/Fixtures/web `` and start a `HHVM FastCGI server `_.
45
42
46
43
To run the functional tests:
47
44
Original file line number Diff line number Diff line change @@ -5,23 +5,20 @@ Installation
5
5
------------
6
6
7
7
The FOSHttpCache library is available on Packagist _. You can install it using
8
- Composer _:
8
+ Composer _.
9
9
10
- .. code-block :: bash
10
+ The library relies on HTTPlug _ for sending invalidation requests over HTTP, so
11
+ you need to install an HTTPlug-compatible client or adapter first:
11
12
12
- $ composer require friendsofsymfony/http-cache
13
+ .. code-block :: bash
13
14
14
- Note that the library needs a ``psr/http-message-implementation `` and
15
- ``php-http/adapter-implementation ``. If your project does not contain one,
16
- composer will complain that it did not find ``psr/http-message-implementation ``.
15
+ $ composer require php-http/guzzle6-adapter
17
16
18
- When on PHP 5.5+, use the following line instead :
17
+ Then install the FOSHttpCache library itself :
19
18
20
19
.. code-block :: bash
21
20
22
- $ composer require friendsofsymfony/http-cache guzzlehttp/psr7:^1.0 php-http/guzzle6-adapter:^0.1.0
23
-
24
- On PHP 5.4, the ``php-http/guzzle5-adapter:^0.1.0 `` works fine.
21
+ $ composer require friendsofsymfony/http-cache
25
22
26
23
.. note ::
27
24
@@ -61,3 +58,4 @@ invalidation requests:
61
58
.. _Packagist : https://packagist.org/packages/friendsofsymfony/http-cache
62
59
.. _Composer : http://getcomposer.org
63
60
.. _Semantic Versioning : http://semver.org/
61
+ .. _HTTPlug : http://httplug.io
You can’t perform that action at this time.
0 commit comments