Merge 7ed099df787c3ad511ed9942296143d4a751ae56 into 503ba97e9d5e227bf43e21dfd9723b6a76c2ab24

This commit is contained in:
Lewis Cowles 2015-07-01 22:59:38 +00:00
commit 9cb2e4a557
4 changed files with 17 additions and 11 deletions

View File

@ -7,8 +7,13 @@ php:
- nightly - nightly
- hhvm - hhvm
install:
- composer self-update
- composer install --prefer-source
script: phpunit before_script:
- composer self-update
- composer install --dev --prefer-source
- mkdir -p build/logs
script: phpunit --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls -v

View File

@ -3,7 +3,9 @@
[![Latest Stable Version](https://poser.pugx.org/box/spout/v/stable)](https://packagist.org/packages/box/spout) [![Latest Stable Version](https://poser.pugx.org/box/spout/v/stable)](https://packagist.org/packages/box/spout)
[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges) [![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges)
[![Build Status](https://travis-ci.org/box/spout.png?branch=master)](http://travis-ci.org/box/spout) [![Build Status](https://travis-ci.org/box/spout.png?branch=master)](http://travis-ci.org/box/spout)
[![Total Downloads](https://poser.pugx.org/box/spout/downloads)](https://packagist.org/packages/box/spout) [![License](https://poser.pugx.org/box/spout/license)](https://packagist.org/packages/box/spout) [![Coverage Status](https://coveralls.io/repos/box/spout/badge.svg)](https://coveralls.io/r/box/spout)
[![Total Downloads](https://poser.pugx.org/box/spout/downloads)](https://packagist.org/packages/box/spout)
[![License](https://poser.pugx.org/box/spout/license)](https://packagist.org/packages/box/spout)
Spout is a PHP library to read and write CSV and XLSX files, in a fast and scalable way. Spout is a PHP library to read and write CSV and XLSX files, in a fast and scalable way.
Contrary to other file readers or writers, it is capable of processing very large files while keeping the memory usage really low (less than 10MB). Contrary to other file readers or writers, it is capable of processing very large files while keeping the memory usage really low (less than 10MB).

View File

@ -18,7 +18,8 @@
"ext-simplexml": "*" "ext-simplexml": "*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": ">=3.7" "phpunit/phpunit": "^4.7",
"satooshi/php-coveralls": "^0.6.1"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@ -13,15 +13,13 @@
<directory>tests/</directory> <directory>tests/</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<logging>
<log type="coverage-html" target="tests/coverage/"/>
</logging>
<filter> <filter>
<whitelist> <whitelist>
<directory suffix=".php">src/</directory> <directory suffix=".php">src/</directory>
</whitelist> </whitelist>
<blacklist>
<directory suffix=".php">vendor/</directory>
</blacklist>
</filter> </filter>
</phpunit> </phpunit>