Remove code and tests for unsupported Python 3.3 and 3.4 (#249)
Hugo authored 6 years ago
INADA Naoki committed 6 years ago
3 | 3 |
|
4 | 4 |
python:
|
5 | 5 |
- "2.7"
|
6 | |
- "3.3"
|
7 | |
- "3.4"
|
8 | 6 |
- "3.5"
|
9 | 7 |
- "3.6"
|
10 | 8 |
- "3.7-dev"
|
22 | 22 |
|
23 | 23 |
test_script:
|
24 | 24 |
# Put your test command here.
|
25 | |
# If you don't need to build C extensions on 64-bit Python 3.3 or 3.4,
|
26 | |
# you can remove "build.cmd" from the front of the command, as it's
|
27 | |
# only needed to support those cases.
|
28 | 25 |
# Note that you must use the environment variable %PYTHON% to refer to
|
29 | 26 |
# the interpreter you're using - Appveyor does not do anything special
|
30 | 27 |
# to put the Python version you want to use on PATH.
|
31 | |
- "build.cmd %PYTHON%\\python.exe setup.py build_ext -i"
|
32 | |
- "build.cmd %PYTHON%\\python.exe setup.py install"
|
|
28 |
- "%PYTHON%\\python.exe setup.py build_ext -i"
|
|
29 |
- "%PYTHON%\\python.exe setup.py install"
|
33 | 30 |
- "%PYTHON%\\python.exe -c \"import sys; print(hex(sys.maxsize))\""
|
34 | 31 |
- "%PYTHON%\\python.exe -c \"from msgpack import _packer, _unpacker\""
|
35 | 32 |
- "%PYTHON%\\Scripts\\py.test test"
|
36 | |
- "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
|
|
33 |
- "%PYTHON%\\python.exe setup.py bdist_wheel"
|
37 | 34 |
|
38 | 35 |
after_test:
|
39 | 36 |
# This step builds your wheels.
|
40 | |
# Again, you only need build.cmd if you're building C extensions for
|
41 | |
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
|
42 | |
# interpreter
|
|
37 |
# Again, you need to use %PYTHON% to get the correct interpreter
|
43 | 38 |
|
44 | 39 |
artifacts:
|
45 | 40 |
# bdist_wheel puts your built wheel in the dist directory
|
0 | |
@echo off
|
1 | |
:: To build extensions for 64 bit Python 3, we need to configure environment
|
2 | |
:: 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
|
4 | |
::
|
5 | |
:: More details at:
|
6 | |
:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
|
7 | |
|
8 | |
IF "%DISTUTILS_USE_SDK%"=="1" (
|
9 | |
ECHO Configuring environment to build with MSVC on a 64bit architecture
|
10 | |
ECHO Using Windows SDK 7.1
|
11 | |
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
|
12 | |
CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
|
13 | |
SET MSSdk=1
|
14 | |
REM Need the following to allow tox to see the SDK compiler
|
15 | |
SET TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB
|
16 | |
) ELSE (
|
17 | |
ECHO Using default MSVC build environment
|
18 | |
)
|
19 | |
|
20 | |
CALL %*
|
0 | 0 |
#!/bin/bash
|
1 | 1 |
set -e -x
|
2 | 2 |
|
3 | |
for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
|
3 |
for V in cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
|
4 | 4 |
PYBIN=/opt/python/$V/bin
|
5 | 5 |
$PYBIN/python setup.py install
|
6 | 6 |
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
0 | 0 |
[tox]
|
1 | |
envlist = {py27,py33,py34,py35,py36}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
|
|
1 |
envlist = {py27,py35,py36}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
|
2 | 2 |
|
3 | 3 |
[variants:pure]
|
4 | 4 |
setenv=
|