Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
k-holy committed Nov 25, 2013
2 parents f06f49a + 704762c commit 413148c
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src_dir: .
coverage_clover: build/logs/clover.xml
json_path: build/logs/coveralls-upload.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor
composer.lock
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ php:
- 5.5

before_script:
- composer install --dev
- composer install --dev --no-interaction --prefer-source

script:
- phpunit --coverage-text
- mkdir -p build/logs
- phpunit -c phpunit.xml --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 @@ -3,6 +3,7 @@ Volcanus\RadixConverter

[![Latest Stable Version](https://poser.pugx.org/volcanus/radix-converter/v/stable.png)](https://packagist.org/packages/volcanus/radix-converter)
[![Build Status](https://travis-ci.org/k-holy/volcanus-radix-converter.png?branch=master)](https://travis-ci.org/k-holy/volcanus-radix-converter)
[![Coverage Status](https://coveralls.io/repos/k-holy/volcanus-radix-converter/badge.png?branch=master)](https://coveralls.io/r/k-holy/volcanus-radix-converter?branch=master)

##RadixConverter

Expand Down
15 changes: 9 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
{
"name": "volcanus/radix-converter",
"type": "library",
"homepage": "https://github.com/k-holy/volcanus-radix-converter",
"version": "0.1.1",
"type": "library",
"version": "0.1.2",
"license": "MIT",
"authors": [
{
"name": "k-holy",
"email": "k.holy74@gmail.com"
}
],
"autoload": {
"psr-0": { "Volcanus\\RadixConverter": "." }
},
"target-dir": "Volcanus/RadixConverter",
"require": {
"php": ">=5.3",
"ext-bcmath" : "*"
},
"autoload": {
"psr-0": { "Volcanus\\RadixConverter": "" }
},
"target-dir": "Volcanus/RadixConverter"
"require-dev": {
"satooshi/php-coveralls": "dev-master"
}
}
16 changes: 15 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,21 @@
>
<testsuites>
<testsuite name="Volcanus_RadixConverter">
<directory suffix="Test.php">Tests</directory>
<directory suffix="Test.php">./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>.</directory>
<exclude>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
<log type="coverage-html" target="build/coverage" title="Volcanus_RadixConverter" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>

0 comments on commit 413148c

Please sign in to comment.