Skip to content

Commit 89a8865

Browse files
committed
MQE-854: Set up coveralls.io
1 parent ff5c042 commit 89a8865

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

Diff for: .coveralls.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
coverage_clover: dev/tests/build/logs/clover.xml
2+
json_path: dev/tests/build/logs/coveralls-upload.json

Diff for: .travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ env:
99
- VERIFICATION_TOOL=static-checks
1010
script:
1111
- bin/$VERIFICATION_TOOL
12+
after_success:
13+
- travis_retry php vendor/bin/coveralls

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Build Status](https://travis-ci.org/magento/magento2-functional-testing-framework.svg?branch=develop)](https://travis-ci.org/magento/magento2-functional-testing-framework)
44

5+
[![Coverage Status](https://coveralls.io/repos/github/magento/magento2-functional-testing-framework/badge.svg?branch=develop)](https://coveralls.io/github/magento/magento2-functional-testing-framework)
6+
57
----
68

79
## System Requirements

Diff for: composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"epfremme/swagger-php": "^2.0",
1515
"flow/jsonpath": ">0.2",
1616
"fzaninotto/faker": "^1.6",
17-
"mustache/mustache": "~2.5"
17+
"mustache/mustache": "~2.5",
18+
"php-coveralls/php-coveralls": "^1.0"
1819
},
1920
"require-dev": {
2021
"squizlabs/php_codesniffer": "1.5.3",

Diff for: dev/tests/phpunit.xml

+3
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@
2828
<directory suffix=".php">../../src/Magento/FunctionalTestingFramework/Util</directory>
2929
</whitelist>
3030
</filter>
31+
<logging>
32+
<log type="coverage-clover" target="build/logs/clover.xml"/>
33+
</logging>
3134
</phpunit>

0 commit comments

Comments
 (0)