Skip to content

Commit

Permalink
Trying to clean things up
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Feb 8, 2019
1 parent 59afe94 commit 49c007b
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,24 +131,25 @@ before_test:
}
test_script:
- cd C:\projects\dbal
- ps: >-
if ($env:db_version) {
$env:phpunit_config = "tests\appveyor\$($env:db).$($env:db_version).$($env:driver).appveyor.xml"
} else {
$env:phpunit_config = "tests\appveyor\$($env:db).$($env:driver).appveyor.xml"
}
- ps: >-
if ($env:coverage -eq "yes") {
vendor\bin\phpunit -c $($env:phpunit_config) --coverage-clover clover.xml
if ($LastExitCode -ne 0) {
$host.SetShouldExit($LastExitCode)
}
appveyor-retry ocular code-coverage:upload --format=php-clover clover.xml
} else {
vendor\bin\phpunit -c $($env:phpunit_config)
if ($LastExitCode -ne 0) {
$host.SetShouldExit($LastExitCode)
}
}
if ($LastExitCode -ne 0) {
$host.SetShouldExit($LastExitCode)
}
after_test:
- ps: >-
if ($env:coverage -eq "yes") {
appveyor-retry ocular code-coverage:upload --format=php-clover clover.xml
}

0 comments on commit 49c007b

Please sign in to comment.