ci: drop the win32 py3.4 build and appveyor
Python 3.4 requires an older MSVC but the older image for azure-pipelines is missing choco which makes it hard to install things. Python 3.4 is hardly used anymore and we test on Linux still, so just drop it. This allows us to get rid of appveyor.
This commit is contained in:
parent
43b71439fa
commit
b9b6e49ad0
|
@ -1,11 +0,0 @@
|
|||
environment:
|
||||
matrix:
|
||||
- MSVC_PLATFORM: x86
|
||||
PYTHON_ROOT: Python34
|
||||
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||
|
||||
build_script:
|
||||
- set PYTHON=C:\%PYTHON_ROOT%\python.exe
|
||||
- .appveyor/msvc.bat
|
||||
|
||||
deploy: off
|
|
@ -1,28 +0,0 @@
|
|||
set CAIRO_VER=1.15.10
|
||||
appveyor DownloadFile https://github.com/preshing/cairo-windows/releases/download/%CAIRO_VER%/cairo-windows-%CAIRO_VER%.zip
|
||||
7z x cairo-windows-%CAIRO_VER%.zip
|
||||
|
||||
::~ set MSVC_PLATFORM=x86
|
||||
::~ set PYTHON=C:\Python27\python.exe
|
||||
::~ set PATH=
|
||||
::~ set LIBPATH=
|
||||
|
||||
set CAIRO_ROOT=%CD%\cairo-windows-%CAIRO_VER%
|
||||
set INCLUDE=%CAIRO_ROOT%\include
|
||||
set LIB=%CAIRO_ROOT%\lib\%MSVC_PLATFORM%
|
||||
|
||||
::~ call "%LOCALAPPDATA%\Programs\Common\Microsoft\Visual C++ for Python\9.0\vcvarsall.bat" %MSVC_PLATFORM%
|
||||
::~ SET DISTUTILS_USE_SDK=1
|
||||
::~ SET MSSdk=1
|
||||
|
||||
%PYTHON% -m pip install --upgrade setuptools || goto :error
|
||||
%PYTHON% -m pip install --upgrade pytest hypothesis coverage codecov || goto :error
|
||||
copy cairo-windows-%CAIRO_VER%\lib\%MSVC_PLATFORM%\cairo.dll cairo || goto :error
|
||||
set CL=/WX
|
||||
%PYTHON% -m coverage run --branch setup.py test || goto :error
|
||||
%PYTHON% -m coverage xml || goto :error
|
||||
%PYTHON% -m codecov --required -f coverage.xml
|
||||
|
||||
goto :EOF
|
||||
:error
|
||||
exit /b 1
|
|
@ -68,9 +68,6 @@ For more information visit https://pycairo.readthedocs.io
|
|||
.. image:: https://travis-ci.org/pygobject/pycairo.svg?branch=master
|
||||
:target: https://travis-ci.org/pygobject/pycairo
|
||||
|
||||
.. image:: https://ci.appveyor.com/api/projects/status/9hurdbb19lg2i9xm/branch/master?svg=true
|
||||
:target: https://ci.appveyor.com/project/lazka/pycairo/branch/master
|
||||
|
||||
.. image:: https://dev.azure.com/pygobject/pycairo/_apis/build/status/pygobject.pycairo
|
||||
:target: https://dev.azure.com/pygobject/pycairo/_build/latest?definitionId=1
|
||||
|
||||
|
|
Loading…
Reference in New Issue