Skip to content

Commit

Permalink
Fail build on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Feb 7, 2019
1 parent 92920ed commit 8d6f358
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ test_script:
$env:phpunit_config = "tests\appveyor\$($env:db).$($env:driver).appveyor.xml"
}
- ps: >-
$ErrorActionPreference = "Stop"
if ($env:coverage -eq "yes") {
vendor\bin\phpunit -c $($env:phpunit_config) --coverage-clover clover.xml
appveyor-retry ocular code-coverage:upload --format=php-clover clover.xml
Expand Down

0 comments on commit 8d6f358

Please sign in to comment.