File tree 6 files changed +31
-29
lines changed
6 files changed +31
-29
lines changed Original file line number Diff line number Diff line change 4
4
/.gitignore export-ignore
5
5
/.travis.yml export-ignore
6
6
/phpunit.xml export-ignore
7
+ /phpunit.xml.dist export-ignore
Original file line number Diff line number Diff line change 1
1
language : php
2
2
3
- # Test php-vcr with all relevant PHP versions but only use PHP 5.6 for integration tests.
4
3
matrix :
5
4
fast_finish : true
6
5
include :
7
- - env : TEST_DIR=.
8
- php : 5.3
9
- - env : TEST_DIR=. COMPOSER_FLAGS="--prefer-lowest"
10
- php : 5.3
11
- - env : TEST_DIR=.
12
- php : 5.4
13
- - env : TEST_DIR=.
14
- php : 5.5
15
- - env : TEST_DIR=.
16
- php : 5.6
17
- - env : TEST_DIR=. COMPOSER_FLAGS="--prefer-lowest"
18
- php : 5.6
19
- - env : TEST_DIR=.
20
- php : 7.0
21
- - env : TEST_DIR=. COMPOSER_FLAGS="--prefer-lowest"
22
- php : 7.0
23
- - env : TEST_DIR=tests/integration/guzzle/3
24
- php : 5.6
25
- - env : TEST_DIR=tests/integration/guzzle/4
26
- php : 5.6
27
- - env : TEST_DIR=tests/integration/guzzle/5
28
- php : 5.6
29
- - env : TEST_DIR=tests/integration/soap
30
- php : 5.6
6
+ - env : TEST_DIR=.
7
+ php : 5.3
8
+ - env : TEST_DIR=. COMPOSER_FLAGS="--prefer-lowest"
9
+ php : 5.3
10
+ - env : TEST_DIR=.
11
+ php : 5.4
12
+ - env : TEST_DIR=.
13
+ php : 5.5
14
+ - env : TEST_DIR=.
15
+ php : 5.6
16
+ - env : TEST_DIR=. COMPOSER_FLAGS="--prefer-lowest"
17
+ php : 5.6
18
+ - env : TEST_DIR=.
19
+ php : 7.0
20
+ - env : TEST_DIR=. COMPOSER_FLAGS="--prefer-lowest"
21
+ php : 7.0
22
+ - env : TEST_DIR=tests/integration/guzzle/3
23
+ php : 5.6
24
+ - env : TEST_DIR=tests/integration/guzzle/4
25
+ php : 5.6
26
+ - env : TEST_DIR=tests/integration/guzzle/5
27
+ php : 5.6
28
+ - env : TEST_DIR=tests/integration/soap
29
+ php : 5.6
31
30
32
31
before_install :
33
32
- composer self-update
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ class VCRTest extends \PHPUnit_Framework_TestCase
67
67
```
68
68
69
69
You can use annotations in PHPUnit by using [ phpunit-testlistener-vcr] ( https://github.com/php-vcr/phpunit-testlistener-vcr ) :
70
+
70
71
``` php
71
72
class VCRTest extends \PHPUnit_Framework_TestCase
72
73
{
@@ -110,8 +111,8 @@ Composer installs all dependencies except extensions like curl.
110
111
In order to run all tests you need to get development dependencies using composer:
111
112
112
113
``` php
113
- composer install --dev
114
- phpunit ./tests
114
+ composer install
115
+ ./vendor/bin/phpunit
115
116
```
116
117
117
118
## Changelog
Original file line number Diff line number Diff line change 27
27
"autoload" : {
28
28
"classmap" : [" src/" ]
29
29
},
30
+
30
31
"extra" : {
31
32
"branch-alias" : {
32
33
"dev-master" : " 1.3.x-dev"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments