From 78a626d343fe03d5a7baeb947c3f336e60d2f831 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Thu, 7 Apr 2016 01:11:13 -0700 Subject: [PATCH] Pushing build to s3 as artifact --- appveyor.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 81f62dfdd..045346047 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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/ +