Skip to content

Commit 52233ef

Browse files
committed
add appveyor file
1 parent 4da65ee commit 52233ef

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

appveyor.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# CI on Windows via appveyor
2+
# This file was based on xarray's appveyor.yml
3+
# This file was based on Olivier Grisel's python-appveyor-demo
4+
5+
environment:
6+
7+
matrix:
8+
- PYTHON: "C:\\Python27-conda32"
9+
PYTHON_VERSION: "2.7"
10+
PYTHON_ARCH: "32"
11+
12+
- PYTHON: "C:\\Python34-conda64"
13+
PYTHON_VERSION: "3.4"
14+
PYTHON_ARCH: "64"
15+
16+
install:
17+
# Install miniconda Python
18+
- "powershell ./ci/install_python.ps1"
19+
20+
# Prepend newly installed Python to the PATH of this build (this cannot be
21+
# done from inside the powershell script as it would require to restart
22+
# the parent CMD process).
23+
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
24+
25+
# Check that we have the expected version and architecture for Python
26+
- "python --version"
27+
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
28+
29+
# install xray and depenencies
30+
- "conda install --yes --quiet pip numpy scipy pandas nose pytz ephem numba"
31+
- "python setup.py install"
32+
33+
build: false
34+
35+
script:
36+
- "nosetests -v --with-coverage --cover-package=pvlib pvlib"

0 commit comments

Comments
 (0)