Skip to content

Commit

Permalink
run coveralls when running build with code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
troosan committed May 20, 2018
1 parent e47ce1b commit 2480103
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ script:

after_success:
## Coveralls
- if [ -z "$COVERAGE" ]; then travis_retry php vendor/bin/php-coveralls -v ; fi
- if [ -n "$COVERAGE" ]; then travis_retry php vendor/bin/php-coveralls -v ; fi
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@
"php": "^5.3.3 || ^7.0",
"ext-xml": "*",
"zendframework/zend-escaper": "^2.2",
"phpoffice/common": "^0.2",
"php-coveralls/php-coveralls": "1.1.0"
"phpoffice/common": "^0.2"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.0",
Expand All @@ -73,7 +72,8 @@
"phploc/phploc": "2.* || 3.* || 4.*",
"dompdf/dompdf":"0.8.*",
"tecnickcom/tcpdf": "6.*",
"mpdf/mpdf": "5.* || 6.* || 7.*"
"mpdf/mpdf": "5.* || 6.* || 7.*",
"php-coveralls/php-coveralls": "1.1.0 || ^2.0"
},
"suggest": {
"ext-zip": "Allows writing OOXML and ODF",
Expand Down

0 comments on commit 2480103

Please sign in to comment.