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
phps:
- 5.6
- 5.5
- 5.4
- 5.3
before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar install
- echo "\n\n\n\n" | pecl install pecl_http-1.7.6
- composer install
script: phpunit -c phpunit.xml.travis
script: vendor/bin/phpunit -c phpunit.xml.travis
......@@ -17,7 +17,8 @@
},
"require-dev": {
"phpunit/phpunit": "~3.7",
"squizlabs/php_codesniffer": "~1.4"
"squizlabs/php_codesniffer": "~1.4",
"zendframework/zendframework1": "~1.12"
},
"extra": {
"branch-alias": {
......
......@@ -175,6 +175,8 @@ class PeclHttpTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(
array(
'timeout' => 10,
'connecttimeout' => 10,
'dns_cache_timeout' => 10,
'headers' => array(
'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