summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-07 07:53:26 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-07 07:53:26 -0400
commitba55ec574ba3799a630f410d408939b732fc2d38 (patch)
tree2d6855d3e548fed9e167726f0d4760dea7901b1e /appveyor.yml
parent205ee03dfc946b13e240dc54312e09be061b8d95 (diff)
downloadpython-coveragepy-ba55ec574ba3799a630f410d408939b732fc2d38.tar.gz
Don't try to upload dist/* if dist doesn't exist
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c275f4f..90df51a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -115,8 +115,11 @@ install:
- "%CMD_IN_ENV% pip install -r ci/requirements.pip"
build_script:
+ # If not a metacov job, then build wheels and .exe installers.
- if NOT "%COVERAGE_COVERAGE%" == "yes" %CMD_IN_ENV% %PYTHON%\python setup.py bdist_wheel bdist_wininst
- - ps: Get-ChildItem dist\*.* | % { Push-AppveyorArtifact $_.FullName -FileName ('dist\' + $_.Name) }
+
+ # Push everything in dist\ as an artifact.
+ - ps: if ( Test-Path 'dist' -PathType Container ) { Get-ChildItem dist\*.* | % { Push-AppveyorArtifact $_.FullName -FileName ('dist\' + $_.Name) } }
test_script:
- "%CMD_IN_ENV% %PYTHON%\\Scripts\\tox"