2017-04-20 14:48:24 +03:00
|
|
|
version: 4.1.1.{build}
|
2015-06-16 03:56:24 +03:00
|
|
|
clone_folder: c:\pillow
|
|
|
|
init:
|
|
|
|
- ECHO %PYTHON%
|
2016-05-12 14:32:20 +03:00
|
|
|
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
# Uncomment previous line to get RDP access during the build.
|
|
|
|
|
2015-06-16 03:56:24 +03:00
|
|
|
environment:
|
|
|
|
X64_EXT: -x64
|
|
|
|
matrix:
|
|
|
|
- PYTHON: C:/Python27-x64
|
|
|
|
- PYTHON: C:/Python34
|
|
|
|
- PYTHON: C:/Python27
|
|
|
|
- PYTHON: C:/Python34-x64
|
2015-07-30 15:23:57 +03:00
|
|
|
- PYTHON: C:/Python33
|
|
|
|
- PYTHON: C:/Python33-x64
|
2016-05-24 13:20:54 +03:00
|
|
|
|
2015-06-16 03:56:24 +03:00
|
|
|
install:
|
2015-10-27 17:46:39 +03:00
|
|
|
- git clone https://github.com/python-pillow/pillow-depends.git c:\pillow-depends
|
2015-06-16 03:56:24 +03:00
|
|
|
- xcopy c:\pillow-depends\*.zip c:\pillow\winbuild\
|
|
|
|
- xcopy c:\pillow-depends\*.tar.gz c:\pillow\winbuild\
|
2016-11-22 18:19:39 +03:00
|
|
|
- xcopy /s c:\pillow-depends\test_images\* c:\pillow\tests\images
|
2015-06-16 03:56:24 +03:00
|
|
|
- cd c:\pillow\winbuild\
|
|
|
|
- c:\python34\python.exe c:\pillow\winbuild\build_dep.py
|
|
|
|
- c:\pillow\winbuild\build_deps.cmd
|
2016-05-24 13:20:54 +03:00
|
|
|
|
2015-06-16 03:56:24 +03:00
|
|
|
build_script:
|
|
|
|
- '%PYTHON%\python.exe c:\pillow\winbuild\build.py'
|
|
|
|
- cd c:\pillow
|
2016-04-07 11:11:13 +03:00
|
|
|
- dir dist\*.egg
|
2015-06-16 03:56:24 +03:00
|
|
|
- '%PYTHON%\python.exe selftest.py --installed'
|
2016-05-24 13:20:54 +03:00
|
|
|
|
2015-06-16 03:56:24 +03:00
|
|
|
test_script:
|
|
|
|
- cd c:\pillow
|
|
|
|
- '%PYTHON%\Scripts\pip.exe install nose'
|
2016-05-12 15:12:08 +03:00
|
|
|
- '%PYTHON%\python.exe test-installed.py -v -s'
|
2016-05-24 13:20:54 +03:00
|
|
|
|
2015-07-01 09:56:52 +03:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2016-05-24 13:20:54 +03:00
|
|
|
|
2016-04-07 11:11:13 +03:00
|
|
|
artifacts:
|
|
|
|
- path: pillow\dist\*.egg
|
2016-05-24 13:20:54 +03:00
|
|
|
name: egg
|
|
|
|
- path: pillow\dist\*.wheel
|
|
|
|
name: wheel
|
|
|
|
|
2016-04-07 11:11:13 +03:00
|
|
|
after_test:
|
2016-05-24 13:20:54 +03:00
|
|
|
- '%PYTHON%\Scripts\pip.exe install wheel'
|
|
|
|
- cd c:\pillow\winbuild\
|
|
|
|
- '%PYTHON%\python.exe c:\pillow\winbuild\build.py --wheel'
|
|
|
|
- cd c:\pillow
|
|
|
|
- ps: Get-ChildItem .\dist\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
|
|
|
|
2016-04-07 11:11:13 +03:00
|
|
|
deploy:
|
|
|
|
provider: S3
|
|
|
|
access_key_id: AKIAIRAXC62ZNTVQJMOQ
|
|
|
|
secret_access_key:
|
2016-04-09 18:21:11 +03:00
|
|
|
secure: Hwb6klTqtBeMgxAjRoDltiiqpuH8xbwD4UooDzBSiCWXjuFj1lyl4kHgHwTCCGqi
|
2016-04-07 11:11:13 +03:00
|
|
|
bucket: pillow-nightly
|
|
|
|
folder: win/$(APPVEYOR_BUILD_NUMBER)/
|
2016-05-24 13:20:54 +03:00
|
|
|
artifact: /.*egg|wheel/
|
2016-05-12 14:32:20 +03:00
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
|
|
|
|
# Uncomment the following line to get RDP access after the build/test and block for
|
|
|
|
# up to the timeout limit (~1hr)
|
|
|
|
#
|
|
|
|
#on_finish:
|
|
|
|
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|