Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit e61ad31

Browse files
committed
Upload artifacts straight after build
Can be useful when there are trivial test failures, and we still want to use the built wheels.
1 parent 978896c commit e61ad31

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

appveyor.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ build_script:
6767
- git fetch origin
6868
- git checkout %BUILD_COMMIT%
6969
- python setup.py bdist_wheel
70+
- ps: |
71+
# Upload artifact to Appveyor immediately after build
72+
ls dist -r | Foreach-Object {
73+
appveyor PushArtifact $_.FullName
74+
pip install $_.FullName
75+
}
7076
- cd dist
7177
- pip install --pre --no-index -f . PyWavelets
7278
- cd ..
@@ -83,10 +89,6 @@ after_test:
8389
# If tests are successful, create binary packages for the project.
8490
- dir dist
8591

86-
artifacts:
87-
# Archive the generated packages in the ci.appveyor.com build report.
88-
- path: dist\*
89-
9092
on_success:
9193
# Upload the generated wheel package to Rackspace
9294
# On Windows, Apache Libcloud cannot find a standard CA cert bundle so we

0 commit comments

Comments
 (0)