Skip to content

Commit 1597a88

Browse files
committed
ci: Enable Appveyor.
1 parent 65989da commit 1597a88

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

.appveyor.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# CI on Windows via appveyor
2+
environment:
3+
4+
matrix:
5+
## MINGW
6+
#
7+
- PYTHON: "C:\\Python2"
8+
PYTHON_VERSION: "2.7"
9+
- PYTHON: "C:\\Python34-x64"
10+
PYTHON_VERSION: "3.4"
11+
- PYTHON: "C:\\Python35-x64"
12+
PYTHON_VERSION: "3.5"
13+
- PYTHON: "C:\\Miniconda35-x64"
14+
PYTHON_VERSION: "3.5"
15+
IS_CONDA: "yes"
16+
17+
install:
18+
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
19+
20+
## Print configuration for debugging.
21+
#
22+
- |
23+
echo %PATH%
24+
uname -a
25+
where python pip pip2 pip3 pip34
26+
python --version
27+
python -c "import struct; print(struct.calcsize('P') * 8)"
28+
29+
- IF "%IS_CONDA%"=="yes" (
30+
conda info -a &
31+
conda install --yes --quiet pip
32+
)
33+
- pip install nose wheel coveralls
34+
35+
## For commits performed with the default user.
36+
- |
37+
git config --global user.email "[email protected]"
38+
git config --global user.name "Travis Runner"
39+
40+
- pip install -e .
41+
42+
build: false
43+
44+
test_script:
45+
- IF "%PYTHON_VERSION%"=="3.5" (
46+
nosetests -v --with-coverage
47+
) ELSE (
48+
nosetests -v
49+
)

0 commit comments

Comments
 (0)