forked from GeoStat-Framework/PyKrige
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
46 lines (41 loc) · 1.41 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
build: false
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
WITH_COMPILER: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_compiler.cmd"
matrix:
- PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda-x64
- PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"
MINICONDA: C:\Miniconda
- PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "32"
MINICONDA: C:\Miniconda35
- PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
MINICONDA: C:\Miniconda36-x64
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH% %MINICONDA%"
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PYTHON%\\Library\\bin;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda info -a
- conda install numpy scipy nose matplotlib cython scikit-learn pytest pytest-cov
- pip install coverage
- pip install -e .
test_script:
- pytest -sv --cov=pykrige pykrige/
- ps: |
cd ".\\examples"
Get-ChildItem ".\\" -Filter *.py |
Foreach-Object {
python $_.FullName 2>&1 | Tee-Object -Append -FilePath "C:\\log.txt"
}
type "C:\\log.txt"
if (sls "Traceback \(most recent call last\):" "C:\\log.txt" -ca -quiet) {
exit 1
}