File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Expand file tree Collapse file tree 2 files changed +65
-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+ - 7.1
11+
12+ env :
13+ global :
14+ - TEST_COMMAND="composer test"
15+ matrix :
16+ - PACKAGE="php-http/curl-client:dev-master" SUITE="curl"
17+ - PACKAGE="php-http/socket-client:dev-master" SUITE="Socket"
18+ - PACKAGE="php-http/guzzle5-adapter:dev-master" SUITE="Guzzle5"
19+ - PACKAGE="php-http/guzzle6-adapter:dev-master" SUITE="Guzzle6"
20+ - PACKAGE="php-http/react-adapter:dev-master" SUITE="React"
21+ - PACKAGE="php-http/buzz-adapter:dev-master" SUITE="Buzz"
22+
23+ branches :
24+ except :
25+ - /^analysis-.*$/
26+
27+ before_install :
28+ - phpenv config-rm xdebug.ini
29+
30+ install :
31+ - composer require ${PACKAGE} --no-update
32+ - travis_retry composer update --prefer-dist --no-interaction
33+
34+ before_script :
35+ - vendor/bin/http_test_server > /dev/null 2>&1 &
36+
37+ script :
38+ - ./vendor/bin/phpunit --testsuite ${SUITE}
39+
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+ </testsuites >
23+ <php >
24+ <server name =" TEST_SERVER" value =" http://127.0.0.1:10000/server.php" />
25+ </php >
26+ </phpunit >
You can’t perform that action at this time.
0 commit comments