Pushing build to s3 as artifact

This commit is contained in:
wiredfool 2016-04-07 01:11:13 -07:00
parent 0e3caec317
commit 78a626d343

View File

@ -21,6 +21,7 @@ install:
build_script:
- '%PYTHON%\python.exe c:\pillow\winbuild\build.py'
- cd c:\pillow
- dir dist\*.egg
- '%PYTHON%\python.exe selftest.py --installed'
test_script:
- cd c:\pillow
@ -28,3 +29,17 @@ test_script:
- '%PYTHON%\python.exe test-installed.py'
matrix:
fast_finish: true
artifacts:
- path: pillow\dist\*.egg
name: build
after_test:
- ps: Get-ChildItem .\dist\*.egg | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
deploy:
provider: S3
access_key_id: AKIAIRAXC62ZNTVQJMOQ
secret_access_key:
secure: KpFJ5pGNJBIfy0yNX0rC/K661aaf789Ey+f7sZ7NN50SdK8Iz5WoZSke7PpGdAGe
bucket: pillow-nightly
folder: win/$(APPVEYOR_BUILD_NUMBER)/
artifact: /.*egg/