1
1
environment :
2
- global :
3
- # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
4
- # /E:ON and /V:ON options are not enabled in the batch script intepreter
5
- # See: http://stackoverflow.com/a/13751649/163740
6
- CMD_IN_ENV : " cmd /E:ON /V:ON /C .\\ appveyor\\ run_with_env.cmd"
7
2
8
3
matrix :
9
4
10
- # PYTHON 2.7
11
- - PYTHON : " C:\\ Python27_32"
12
- PYTHON_VERSION : " 2.7"
13
- PYTHON_ARCH : " 32"
14
- CONDA_PY : " 27"
15
- CONDA_NPY : " 19"
16
-
17
- - PYTHON : " C:\\ Python27_64"
18
- PYTHON_VERSION : " 2.7"
19
- PYTHON_ARCH : " 64"
20
- CONDA_PY : " 27"
21
- CONDA_NPY : " 19"
22
-
23
- # PYTHON 3.4
24
- - PYTHON : " C:\\ Python34_32"
25
- PYTHON_VERSION : " 3.4"
26
- PYTHON_ARCH : " 32"
27
- CONDA_PY : " 34"
28
- CONDA_NPY : " 19"
29
-
30
- # Commented this out because the build interacts badly with previous one
31
- # Not certain how to fix this.
32
- # - PYTHON: "C:\\Python34_64"
33
- # PYTHON_VERSION: "3.4"
34
- # PYTHON_ARCH: "64"
35
- # CONDA_PY: "34"
36
- # CONDA_NPY: "19"
5
+ - PYTHON : " C:\\ Python27"
6
+ - PYTHON : " C:\\ Python34"
7
+ - PYTHON : " C:\\ Python35"
8
+ - PYTHON : " C:\\ Python27-x64"
9
+ DISTUTILS_USE_SDK : " 1"
10
+ - PYTHON : " C:\\ Python34-x64"
11
+ DISTUTILS_USE_SDK : " 1"
12
+ - PYTHON : " C:\\ Python35-x64"
37
13
38
14
install :
39
- # this installs the appropriate Miniconda (Py2/Py3, 32/64 bit),
40
- # as well as pip, conda-build, and the binstar CLI
41
- - powershell .\\appveyor\\install.ps1
42
- - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
43
- - git submodule update --init --recursive
15
+ # We need wheel installed to build wheels
16
+ - " %PYTHON%\\ python.exe -m pip install wheel"
17
+ - " %PYTHON%\\ python.exe -m pip install -rrequirements_test.txt"
18
+ - " %PYTHON%\\ python.exe -m pip install -rrequirements.txt"
44
19
45
- build : false
20
+ build : off
46
21
47
22
test_script :
48
- # Build and test the package. This appears(?) to sporadically fail due to a
49
- # bug in conda-build on 32 bit python.
50
- # https://github.com/conda/conda-build/issues/152
51
- #
52
- # Note also that our setup.py script, which is called by conda-build, writes
53
- # a __conda_version__.txt file, so the version number on the binary package
54
- # is set dynamically. This unfortunately mean that conda build --output
55
- # doesn't really work.
56
- #
57
- - " %CMD_IN_ENV% conda install --yes --quiet cython numpy setuptools_scm nose"
58
- - " %CMD_IN_ENV% python -m pip install zict heapdict fasteners"
23
+ - " build.cmd %PYTHON%\\ python.exe setup.py build_ext --inplace"
24
+ - " build.cmd %PYTHON%\\ python.exe -m nose -v"
25
+
26
+ after_test :
27
+ - " build.cmd %PYTHON%\\ python.exe setup.py bdist_wheel"
59
28
60
- # Build the compiled extension and run the project tests
61
- - " %CMD_IN_ENV% python setup.py build_ext --inplace"
62
- - " %CMD_IN_ENV% python -m nose -v"
29
+ artifacts :
30
+ - path : dist\*
0 commit comments