skipp coverage report creation for PRs

This commit is contained in:
OCram85 2018-03-05 09:00:53 +01:00
parent d45e42c2b1
commit 8ed1f99e95
1 changed files with 7 additions and 1 deletions

View File

@ -33,7 +33,13 @@ build_script:
test_script:
- ps: Invoke-AppVeyorTests
- ps: Invoke-CoverageReport
- ps: >-
if ($null -ne $Env:CoverallsToken) {
Invoke-CoverageReport
}
else {
Write-Warning "No CoverallsToken found. This build seems to be triggered by a PR. Skipping this step..."
}
deploy:
#- provider: GitHub