Skip to content

Commit

Permalink
Added coveralls.io configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Aug 31, 2014
1 parent 7f547a9 commit 016b138
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ matrix:

before_script:
- composer install

script:
- mkdir -p build/logs
- phpunit --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Brick\Math
Provides the `BigInteger` and `BigDecimal` classes to work with arbitrary precision numbers.

[![Build Status](https://secure.travis-ci.org/brick/math.png?branch=master)](http://travis-ci.org/brick/math)
[![Coverage Status](https://coveralls.io/repos/brick/math/badge.png?branch=master)](https://coveralls.io/r/brick/math?branch=master)

Installation
------------
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"php": ">=5.5"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
"phpunit/phpunit": "*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 016b138

Please sign in to comment.