Skip to content

Commit

Permalink
TASK: Add codeclimate reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
mstruebing committed Jun 25, 2017
1 parent c379c2c commit 208f927
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
coverage_clover: ./clover.xml
json_path: ./coveralls-upload.json
coverage_clover: ./build/logs/clover.xml
json_path: ./build/logs/coveralls-upload.json
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ before_script:
# Commands you want to run that will verify your build.
script:
- composer run-script lint
- mkdir -p ./build/logs/
- composer run-script test:coverage
after_success:
- travis_retry php vendor/bin/coveralls -v
- ./vendor/bin/test-reporter
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</testsuites>
<logging>
<!-- and this is where your report will be written -->
<log type="coverage-clover" target="./clover.xml"/>
<log type="coverage-clover" target="./build/logs/clover.xml"/>
</logging>

</phpunit>

0 comments on commit 208f927

Please sign in to comment.