File tree Expand file tree Collapse file tree 3 files changed +86
-0
lines changed Expand file tree Collapse file tree 3 files changed +86
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : php
2
+
3
+ sudo : false
4
+
5
+ cache :
6
+ directories :
7
+ - $HOME/.composer/cache/files
8
+
9
+ php :
10
+ 5.5
11
+
12
+ env :
13
+ - SUITE="curl" PACKAGE="php-http/curl-client:dev-master zendframework/zend-diactoros"
14
+ - SUITE="Socket" PACKAGE="php-http/socket-client:dev-master php-http/client-common"
15
+ - SUITE="Guzzle5" PACKAGE="php-http/guzzle5-adapter:dev-master"
16
+ - SUITE="Guzzle6" PACKAGE="php-http/guzzle6-adapter:dev-master"
17
+ - SUITE="React" PACKAGE="php-http/react-adapter:dev-master"
18
+ - SUITE="Buzz" PACKAGE="php-http/buzz-adapter:dev-master"
19
+ - SUITE="CakePHP" PACKAGE="php-http/buzz-adapter:dev-master"
20
+ - SUITE="Zend" PACKAGE="php-http/buzz-adapter:dev-master"
21
+
22
+ matrix :
23
+ allow_failures :
24
+ - env : SUITE="Socket" PACKAGE="php-http/socket-client:dev-master php-http/client-common"
25
+
26
+ branches :
27
+ except :
28
+ - /^analysis-.*$/
29
+
30
+ before_install :
31
+ - phpenv config-rm xdebug.ini
32
+
33
+ install :
34
+ - composer require ${PACKAGE} --no-update
35
+ - travis_retry composer update --prefer-source --no-interaction
36
+
37
+ before_script :
38
+ - bin/http_test_server > /dev/null 2>&1 &
39
+
40
+ script :
41
+ - ./vendor/bin/phpunit --testsuite ${SUITE}
42
+
Original file line number Diff line number Diff line change 27
27
"Http\\ Client\\ Tests\\ " : " src/"
28
28
}
29
29
},
30
+ "autoload-dev" : {
31
+ "psr-4" : {
32
+ "Http\\ Client\\ Curl\\ Tests\\ " : " vendor/php-http/curl-client/tests/" ,
33
+ "Http\\ Client\\ Socket\\ Tests\\ " : " vendor/php-http/socket-client/tests/" ,
34
+ "Http\\ Adapter\\ Guzzle5\\ Tests\\ " : " vendor/php-http/guzzle5-adapter/tests/" ,
35
+ "Http\\ Adapter\\ Guzzle6\\ Tests\\ " : " vendor/php-http/guzzle6-adapter/tests/" ,
36
+ "Http\\ Adapter\\ Buzz\\ Tests\\ " : " vendor/php-http/buzz-adapter/tests/" ,
37
+ "Http\\ Adapter\\ React\\ Tests\\ " : " vendor/php-http/react-adapter/tests/" ,
38
+ "Http\\ Adapter\\ Cake\\ Tests\\ " : " vendor/php-http/cachephp-adapter/tests/" ,
39
+ "Http\\ Adapter\\ Zend\\ Tests\\ " : " vendor/php-http/zend-adapter/tests/"
40
+ }
41
+ },
30
42
"bin" : [
31
43
" bin/http_test_server"
32
44
],
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit colors =" true" bootstrap =" vendor/autoload.php" >
3
+ <testsuites >
4
+ <testsuite name =" curl" >
5
+ <directory >vendor/php-http/curl-client/tests</directory >
6
+ </testsuite >
7
+ <testsuite name =" Socket" >
8
+ <directory >vendor/php-http/socket-client/tests</directory >
9
+ </testsuite >
10
+ <testsuite name =" Guzzle5" >
11
+ <directory >vendor/php-http/guzzle5-adapter/tests</directory >
12
+ </testsuite >
13
+ <testsuite name =" Guzzle6" >
14
+ <directory >vendor/php-http/guzzle6-adapter/tests</directory >
15
+ </testsuite >
16
+ <testsuite name =" Buzz" >
17
+ <directory >vendor/php-http/buzz-adapter/tests</directory >
18
+ </testsuite >
19
+ <testsuite name =" React" >
20
+ <directory >vendor/php-http/react-adapter/tests</directory >
21
+ </testsuite >
22
+ <testsuite name =" CakePHP" >
23
+ <directory >vendor/php-http/cakephp-adapter/tests</directory >
24
+ </testsuite >
25
+ <testsuite name =" Zend" >
26
+ <directory >vendor/php-http/zend-adapter/tests</directory >
27
+ </testsuite >
28
+ </testsuites >
29
+ <php >
30
+ <server name =" TEST_SERVER" value =" http://127.0.0.1:10000/server.php" />
31
+ </php >
32
+ </phpunit >
You can’t perform that action at this time.
0 commit comments