Skip to content
Myr

Merge pull request #1027 from pallets/ci

Before adoption: this commit came in with the history the project adopted, so no landing records it.

update test env matrix

authored by David Lord · committed by GitHub · parents da0ebcb, 4b32ee7 · Browse files · 5 files+98 added−148 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+98 added−148 removed

  • other:+98 added−148 removed

5 files+98 added−148 removed

deleted:.ci/appveyor.yml-66 removed
deleted:.ci/run_with_env.cmd-47 removed
1:: To build extensions for 64 bit Python 3, we need to configure environment2:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:3:: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1)4::5:: To build extensions for 64 bit Python 2, we need to configure environment6:: variables to use the MSVC 2008 C++ compilers from GRMSDKX_EN_DVD.iso of:7:: MS Windows SDK for Windows 7 and .NET Framework 3.5 (SDK v7.0)8::9:: 32 bit builds do not require specific environment configurations.10::11:: Note: this script needs to be run with the /E:ON and /V:ON flags for the12:: cmd interpreter, at least for (SDK v7.0)13::14:: More details at:15:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows16:: http://stackoverflow.com/a/13751649/16374017::18:: Author: Olivier Grisel19:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/20@ECHO OFF2122SET COMMAND_TO_RUN=%*23SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows2425SET MAJOR_PYTHON_VERSION="%PYTHON_VERSION:~0,1%"26IF %MAJOR_PYTHON_VERSION% == "2" (27 SET WINDOWS_SDK_VERSION="v7.0"28) ELSE IF %MAJOR_PYTHON_VERSION% == "3" (29 SET WINDOWS_SDK_VERSION="v7.1"30) ELSE (31 ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%"32 EXIT 133)3435IF "%PYTHON_ARCH%"=="64" (36 ECHO Configuring Windows SDK %WINDOWS_SDK_VERSION% for Python %MAJOR_PYTHON_VERSION% on a 64 bit architecture37 SET DISTUTILS_USE_SDK=138 SET MSSdk=139 "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Setup\WindowsSdkVer.exe" -q -version:%WINDOWS_SDK_VERSION%40 "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release41 ECHO Executing: %COMMAND_TO_RUN%42 call %COMMAND_TO_RUN% || EXIT 143) ELSE (44 ECHO Using default MSVC build environment for 32 bit architecture45 ECHO Executing: %COMMAND_TO_RUN%46 call %COMMAND_TO_RUN% || EXIT 147)
added:.appveyor.yml+28 added
modified:.travis.yml+41 added-28 removed
modified:tox.ini+29 added-7 removed
1[tox]2envlist = py27,py34,py35,py36,pypy3skip_missing_interpreters = true2envlist = py{36,35,34,27,py}34[testenv]5passenv = LANG7commands = {env:TEST_RUNNER:pytest} {posargs}6deps =7 pytest10 colorama: colorama11 coverage: coverage12setenv =13 coverage: TEST_RUNNER=coverage run -m pytest8 coverage9 colorama10commands = coverage run -p -m pytest {posargs:tests}1112[testenv:docs-html]13deps = sphinx14commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html1516[testenv:docs-linkcheck]17deps = sphinx18commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs {envtmpdir}/linkcheck1920[testenv:coverage-report]21deps = coverage22skip_install = true23commands =24 coverage combine25 coverage report26 coverage html2728[testenv:codecov]29passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_*30deps = codecov31skip_install = true32commands =33 coverage combine34 coverage report35 codecov