Skip to content

Commit

Permalink
fixed php-coveralls usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Simonas Šerlinskas committed Jan 24, 2019
1 parent 56e59e5 commit b165a0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ script:
- vendor/bin/phpunit --coverage-clover=coverage.clover
- vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/ ./
after_script:
- travis_retry php vendor/bin/coveralls
- travis_retry php vendor/bin/php-coveralls
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
},
"require-dev": {
"elasticsearch/elasticsearch": "^6.0",
"phpunit/phpunit": "^6.0",
"phpunit/phpunit": "~6.0",
"squizlabs/php_codesniffer": "^3.0",
"php-coveralls/php-coveralls": "~2.0"
"php-coveralls/php-coveralls": "^2.1"
},
"suggest": {
"elasticsearch/elasticsearch": "This library is for elasticsearch/elasticsearch client to enhance it with DSL functionality."
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

<logging>
<log type="coverage-text" target="php://stdout" showOnlySummary="true"/>
<log type="coverage-php" target="coverage.cov"/>
</logging>

</phpunit>

0 comments on commit b165a0d

Please sign in to comment.