skipp coverage report creation for PRs

This commit is contained in:
OCram85 2018-03-05 09:00:53 +01:00
parent d45e42c2b1
commit 8ed1f99e95

View File

@ -33,7 +33,13 @@ build_script:
test_script: test_script:
- ps: Invoke-AppVeyorTests - 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: deploy:
#- provider: GitHub #- provider: GitHub