Skip to content

Commit 4ba0aec

Browse files
committed
appveyor config
1 parent 2fcb54d commit 4ba0aec

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

appveyor.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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 .\\continuous-integration\\appveyor\\run_with_env.cmd"
7+
8+
matrix:
9+
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"
37+
38+
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 .\\continuous-integration\\appveyor\\install.ps1
42+
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
43+
44+
build: false
45+
46+
test_script:
47+
# Build and test the package. This appears(?) to sporadically fail due to a
48+
# bug in conda-build on 32 bit python.
49+
# https://github.com/conda/conda-build/issues/152
50+
#
51+
# Note also that our setup.py script, which is called by conda-build, writes
52+
# a __conda_version__.txt file, so the version number on the binary package
53+
# is set dynamically. This unfortunately mean that conda build --output
54+
# doesn't really work.
55+
#
56+
- "%CMD_IN_ENV% conda install --yes --quiet cython setuptools_scm nose"
57+
- "%CMD_IN_ENV% python -m pip install zict heapdict fasteners"
58+
59+
# Build the compiled extension and run the project tests
60+
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
61+
- "%CMD_IN_ENV% python -m nose -v"

0 commit comments

Comments
 (0)