Skip to content

Commit

Permalink
added coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
aschamberger committed Apr 3, 2014
1 parent d0bb2ec commit 2a915b2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# for php-coveralls
service_name: travis-ci
src_dir: ./
coverage_clover: build/logs/clover.xml
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ php:
- 5.5

before_script:
- composer install --dev --prefer-source
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev - composer install --dev --prefer-source

after_script:
- php vendor/bin/coveralls -v
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# XmlSecurity Library [![Build Status](https://secure.travis-ci.org/aschamberger/XmlSecurity.png?branch=master)](http://travis-ci.org/aschamberger/XmlSecurity)
# XmlSecurity Library [![Build Status](https://secure.travis-ci.org/aschamberger/XmlSecurity.png?branch=master)](http://travis-ci.org/aschamberger/XmlSecurity) [![Coverage Status](https://coveralls.io/repos/aschamberger/XmlSecurity/badge.png?branch=master)](https://coveralls.io/r/aschamberger/XmlSecurity)

The XmlSecurity library is written in PHP for working with XML Encryption and
Signatures.
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"ext-openssl": "*",
"lib-openssl": ">=0.9.0"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
},
"suggest": {
"ext-mcrypt": "*"
},
Expand Down
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
</exclude>
</groups>

<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>

<filter>
<whitelist>
<directory>./src/ass/XmlSecurity/</directory>
Expand Down

0 comments on commit 2a915b2

Please sign in to comment.