Skip to content

Commit

Permalink
Adding coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
skymeyer committed Jun 2, 2013
1 parent d724fb8 commit efbbdaa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
service_name: travis-ci
src_dir: src
coverage_clover: build/logs/clover.xml
json_path: build/logs/coveralls-upload.json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build
vendor
coverage
api
Expand Down
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ matrix:
before_script:
- composer install --dev --prefer-source

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

after_script:
- vendor/bin/coveralls -v

notifications:
email: false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Vatsimphp Library [![Build Status](https://travis-ci.org/skymeyer/Vatsimphp.png)](https://travis-ci.org/skymeyer/Vatsimphp)
Vatsimphp Library [![Build Status](https://travis-ci.org/skymeyer/Vatsimphp.png)](https://travis-ci.org/skymeyer/Vatsimphp) [![Coverage Status](https://coveralls.io/repos/skymeyer/Vatsimphp/badge.png?branch=master)](https://coveralls.io/r/skymeyer/Vatsimphp?branch=master)
=================

Vatsimphp collects and parses the publically available statistics
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"psr/log": "~1.0"
},
"require-dev": {
"monolog/monolog": "~1.5"
"phpunit/phpunit": "~3.7",
"monolog/monolog": "~1.5",
"satooshi/php-coveralls": "dev-master"
},
"suggest": {
"monolog/monolog": "Solid PSR-3 logging library"
Expand Down

0 comments on commit efbbdaa

Please sign in to comment.