Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Commit

Permalink
Set up for coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Coen Zimmerman committed Apr 15, 2017
1 parent 4b4c16d commit ad49313
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
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 @@ -7,7 +7,11 @@ php:
install: composer install --dev

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

after_script:
- vendor/bin/coveralls -v

notifications:
email:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[![Build Status](https://travis-ci.org/czim/laravel-jsonapi.svg?branch=master)](https://travis-ci.org/czim/laravel-jsonapi)
[![Coverage Status](https://coveralls.io/repos/github/czim/laravel-jsonapi/badge.svg?branch=master)](https://coveralls.io/github/czim/laravel-jsonapi?branch=master)

# JSON-API Base

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"phpunit/phpunit": "5.*",
"mockery/mockery": "0.9.*",
"scrutinizer/ocular": "~1.1",
"orchestra/testbench": "3.3.*"
"orchestra/testbench": "3.3.*",
"satooshi/php-coveralls": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit ad49313

Please sign in to comment.