Skip to content

Commit

Permalink
Add more development dependencies and push code coverage to scrutinizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
bircher committed Mar 18, 2017
1 parent daf81ee commit db0e7ac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ before_script:
- git --version
- composer install --prefer-dist --dev

after_script:
- vendor/bin/ocular code-coverage:upload --format=php-clover build/logs/clover.xml
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
"sebastian/diff": "^1.3"
},
"require-dev": {
"phpunit/phpunit": "~5.0",
"pdepend/pdepend": "~1.0",
"phploc/phploc": "~2.0",
"phpmd/phpmd": "~1.0",
"phpunit/phpunit": "~4.0|~5.0",
"psr/log": "~1.0",
"scrutinizer/ocular": "~1.0",
"sebastian/phpcpd": "~2.0",
"cpliakas/git-wrapper": "dev-master"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

<logging>
<log type="coverage-html" target="build/coverage" charset="UTF-8"/>
<!--<log type="coverage-clover" target="build/logs/clover.xml" charset="UTF-8"/>-->
<!--<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>-->
<log type="coverage-clover" target="build/logs/clover.xml" charset="UTF-8"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>

</phpunit>

0 comments on commit db0e7ac

Please sign in to comment.