Skip to content

Commit c2e4758

Browse files
committed
Merge pull request #26 from SparkPost/coveralls
Coveralls
2 parents 3b8eec4 + f01b1b4 commit c2e4758

File tree

4 files changed

+470
-9
lines changed

4 files changed

+470
-9
lines changed

.coveralls.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#.coveralls.yml
2+
3+
src_dir: lib/
4+
5+
# single file
6+
coverage_clover: test/output/clover.xml
7+
8+
9+
json_path: test/output/coveralls-upload.json

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"post-install-cmd": "if [ ! -f 'examples/example-config.json' ]; then echo '{\n\t\"api-key\":\"Your API Key\"\n}' >> examples/example-config.json; fi",
1313
"post-update-cmd": "if [ ! -f 'examples/example-config.json' ]; then echo '{\n\t\"api-key\":\"Your API Key\"\n}' >> examples/example-config.json; fi",
14-
"test": "phpunit --coverage-html test/output/report --coverage-clover test/output/clover.xml --bootstrap test/unit/bootstrap.php ./test/unit/"
14+
"test": "phpunit ./test/unit/"
1515
},
1616
"require": {
1717
"php": ">=5.3.0",

0 commit comments

Comments
 (0)