summaryrefslogtreecommitdiff
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
parent205ee03dfc946b13e240dc54312e09be061b8d95 (diff)
downloadpython-coveragepy-ba55ec574ba3799a630f410d408939b732fc2d38.tar.gz
Don't try to upload dist/* if dist doesn't exist
-rw-r--r--Makefile2
-rw-r--r--appveyor.yml5
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c54280e..e692518 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ pep8:
pep8 --filename=*.py --repeat $(LINTABLE)
test:
- tox -e py27 $(ARGS)
+ tox -e py27,py34 $(ARGS)
metacov:
COVERAGE_COVERAGE=yes tox $(ARGS)
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"