Pillow/appveyor.yml

70 lines
2.1 KiB
YAML
Raw Normal View History

2016-10-04 10:18:33 +03:00
version: 3.5.pre.{build}
clone_folder: c:\pillow
init:
- ECHO %PYTHON%
#- 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.
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
install:
- git clone https://github.com/python-pillow/pillow-depends.git c:\pillow-depends
- 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
- 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
build_script:
- '%PYTHON%\python.exe c:\pillow\winbuild\build.py'
- cd c:\pillow
2016-04-07 11:11:13 +03:00
- dir dist\*.egg
- '%PYTHON%\python.exe selftest.py --installed'
2016-05-24 13:20:54 +03:00
test_script:
- cd c:\pillow
- '%PYTHON%\Scripts\pip.exe install nose'
- '%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:
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/
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'))