1
1
environment :
2
-
3
2
matrix :
4
-
5
3
# For Python versions available on Appveyor, see
6
4
# http://www.appveyor.com/docs/installed-software#python
7
- # The list here is complete (excluding Python 2.6, which
8
- # isn't covered by this document) at the time of writing.
9
-
10
- - PYTHON : " C:\\ Python27"
11
- - PYTHON : " C:\\ Python27-x64"
12
- - PYTHON : " C:\\ Python35"
13
- - PYTHON : " C:\\ Python35-x64"
14
5
- PYTHON : " C:\\ Python36"
15
- - PYTHON : " C:\\ Python36-x64"
16
6
17
7
install :
18
8
# We need wheel installed to build wheels
19
- - " %PYTHON%\\ python.exe -m pip install -U pip wheel pytest cython"
9
+ - " %PYTHON%\\ python.exe -m pip install -U cython"
20
10
- " %PYTHON%\\ Scripts\\ cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx"
21
11
22
12
build : off
@@ -26,20 +16,26 @@ test_script:
26
16
# Note that you must use the environment variable %PYTHON% to refer to
27
17
# the interpreter you're using - Appveyor does not do anything special
28
18
# to put the Python version you want to use on PATH.
29
- - " %PYTHON%\\ python.exe setup.py build_ext -i"
30
- - " %PYTHON%\\ python.exe setup.py install"
31
- - " %PYTHON%\\ python.exe -c \" import sys; print(hex(sys.maxsize))\" "
32
- - " %PYTHON%\\ python.exe -c \" from msgpack import _packer, _unpacker\" "
33
- - " %PYTHON%\\ Scripts\\ py.test test"
34
- - " %PYTHON%\\ python.exe setup.py bdist_wheel"
19
+ - set PYTHON="C:\\Python27"
20
+ - ci\\runtests.bat
21
+ - set PYTHON="C:\\Python27-x64"
22
+ - ci\\runtests.bat
23
+ - set PYTHON="C:\\Python35"
24
+ - ci\\runtests.bat
25
+ - set PYTHON="C:\\Python35-x64"
26
+ - ci\\runtests.bat
27
+ - set PYTHON="C:\\Python36"
28
+ - ci\\runtests.bat
29
+ - set PYTHON="C:\\Python36-x64"
30
+ - ci\\runtests.bat
35
31
36
32
after_test :
37
33
# This step builds your wheels.
38
34
# Again, you need to use %PYTHON% to get the correct interpreter
39
35
40
36
artifacts :
41
37
# bdist_wheel puts your built wheel in the dist directory
42
- - path : dist\*
38
+ - path : dist\*.whl
43
39
44
40
# on_success:
45
41
# You can use this step to upload your artifacts to a public website.
0 commit comments