Commit 5275590c authored by Bas de Nooijer's avatar Bas de Nooijer

Merge pull request #289 from Gasol/travis-ci

Increase test coverage
parents e4e93eba aa3f8961
language: php language: php
phps: phps:
- 5.6
- 5.5 - 5.5
- 5.4 - 5.4
- 5.3 - 5.3
before_script: before_script:
- wget http://getcomposer.org/composer.phar - echo "\n\n\n\n" | pecl install pecl_http-1.7.6
- php composer.phar install - composer install
script: phpunit -c phpunit.xml.travis script: vendor/bin/phpunit -c phpunit.xml.travis
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~3.7", "phpunit/phpunit": "~3.7",
"squizlabs/php_codesniffer": "~1.4" "squizlabs/php_codesniffer": "~1.4",
"zendframework/zendframework1": "~1.12"
}, },
"extra": { "extra": {
"branch-alias": { "branch-alias": {
......
...@@ -175,6 +175,8 @@ class PeclHttpTest extends \PHPUnit_Framework_TestCase ...@@ -175,6 +175,8 @@ class PeclHttpTest extends \PHPUnit_Framework_TestCase
$this->assertEquals( $this->assertEquals(
array( array(
'timeout' => 10, 'timeout' => 10,
'connecttimeout' => 10,
'dns_cache_timeout' => 10,
'headers' => array( 'headers' => array(
'Content-Type' => 'text/xml; charset=utf-8', 'Content-Type' => 'text/xml; charset=utf-8',
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment