File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ environment :
2+ matrix :
3+ - PYTHON : " C:\\ Python27"
4+ DISTUTILS_USE_SDK : " 1"
5+ - PYTHON : " C:\\ Python27-x64"
6+ DISTUTILS_USE_SDK : " 1"
7+ - PYTHON : " C:\\ Python34"
8+ DISTUTILS_USE_SDK : " 1"
9+ - PYTHON : " C:\\ Python34-x64"
10+ DISTUTILS_USE_SDK : " 1"
11+ - PYTHON : " C:\\ Python35"
12+ DISTUTILS_USE_SDK : " 1"
13+ - PYTHON : " C:\\ Python35-x64"
14+ DISTUTILS_USE_SDK : " 1"
15+ - PYTHON : " C:\\ Python36"
16+ DISTUTILS_USE_SDK : " 1"
17+ - PYTHON : " C:\\ Python36-x64"
18+ DISTUTILS_USE_SDK : " 1"
19+
20+ install :
21+ - " tools/build.cmd %PYTHON%\\ python.exe -m pip install -U pip setuptools wheel"
22+ - " tools/build.cmd %PYTHON%\\ python.exe -m pip install pytest pytest-sugar pytest-cov"
23+ - " tools/build.cmd %PYTHON%\\ python.exe -m pip install -r build_requirements.txt"
24+
25+ build : false
26+ cache :
27+ - ' %LOCALAPPDATA%\pip\Cache'
28+
29+ test_script :
30+ - " tools/build.cmd %PYTHON%\\ python.exe -m pytest --junitxml=unit_result.xml --cov-config .coveragerc --cov=exec_helpers test"
31+
32+ artifacts :
33+ - path : dist\*
Original file line number Diff line number Diff line change 1+ @ echo off
2+ :: To build extensions for 64 bit Python 3, we need to configure environment
3+ :: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
4+ :: MS Windows SDK for Windows 7 and .NET Framework 4
5+ ::
6+ :: More details at:
7+ :: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
8+
9+ IF " %DISTUTILS_USE_SDK% " == " 1" (
10+ ECHO Configuring environment to build with MSVC on a 64bit architecture
11+ ECHO Using Windows SDK 7.1
12+ " C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
13+ CALL " C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
14+ SET MSSdk = 1
15+ REM Need the following to allow tox to see the SDK compiler
16+ SET TOX_TESTENV_PASSENV = DISTUTILS_USE_SDK MSSdk INCLUDE LIB
17+ ) ELSE (
18+ ECHO Using default MSVC build environment
19+ )
20+
21+ CALL %*
You can’t perform that action at this time.
0 commit comments