mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
fix appveyor
This commit is contained in:
parent
af322141ce
commit
15ce881a2b
|
@ -1,4 +1,5 @@
|
||||||
version: '{build}'
|
version: '{build}'
|
||||||
|
image: Visual Studio 2017
|
||||||
clone_folder: c:\pillow
|
clone_folder: c:\pillow
|
||||||
init:
|
init:
|
||||||
- ECHO %PYTHON%
|
- ECHO %PYTHON%
|
||||||
|
@ -35,6 +36,8 @@ install:
|
||||||
- xcopy c:\pillow-depends\*.zip c:\pillow\winbuild\depends\
|
- xcopy c:\pillow-depends\*.zip c:\pillow\winbuild\depends\
|
||||||
- xcopy c:\pillow-depends\*.tar.gz c:\pillow\winbuild\depends\
|
- xcopy c:\pillow-depends\*.tar.gz c:\pillow\winbuild\depends\
|
||||||
- xcopy /s c:\pillow-depends\test_images\* c:\pillow\tests\images
|
- xcopy /s c:\pillow-depends\test_images\* c:\pillow\tests\images
|
||||||
|
- 7z x ..\pillow-depends\nasm-2.14.02-win64.zip -oc:\
|
||||||
|
- path c:\nasm-2.14.02;%PATH%
|
||||||
- cd c:\pillow\winbuild\
|
- cd c:\pillow\winbuild\
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:PYTHON -eq "c:/vp/pypy3")
|
if ($env:PYTHON -eq "c:/vp/pypy3")
|
||||||
|
@ -67,7 +70,7 @@ build_script:
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
& $env:PYTHON/$env:EXECUTABLE c:\pillow\winbuild\build\build_pillow.cmd install
|
c:\pillow\winbuild\build\build_pillow.cmd install
|
||||||
$host.SetShouldExit(0)
|
$host.SetShouldExit(0)
|
||||||
}
|
}
|
||||||
- cd c:\pillow
|
- cd c:\pillow
|
||||||
|
@ -100,7 +103,7 @@ before_deploy:
|
||||||
- cd c:\pillow
|
- cd c:\pillow
|
||||||
- '%PYTHON%\%PIP_DIR%\pip.exe install wheel'
|
- '%PYTHON%\%PIP_DIR%\pip.exe install wheel'
|
||||||
- cd c:\pillow\winbuild\
|
- cd c:\pillow\winbuild\
|
||||||
- '%PYTHON%\%EXECUTABLE% c:\pillow\winbuild\build\build_pillow.cmd bdist_wheel'
|
- c:\pillow\winbuild\build\build_pillow.cmd bdist_wheel
|
||||||
- cd c:\pillow
|
- cd c:\pillow
|
||||||
- ps: Get-ChildItem .\dist\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
- ps: Get-ChildItem .\dist\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,7 @@ def test_viewer_show():
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(
|
@pytest.mark.skipif(
|
||||||
not on_ci() or (is_win32() and on_github_actions()),
|
not on_ci() or is_win32(), reason="Only run on CIs; hangs on Windows 10",
|
||||||
reason="Only run on CIs; hangs on Windows on GitHub Actions",
|
|
||||||
)
|
)
|
||||||
def test_show():
|
def test_show():
|
||||||
for mode in ("1", "I;16", "LA", "RGB", "RGBA"):
|
for mode in ("1", "I;16", "LA", "RGB", "RGBA"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user