From 9a9f347129e80d2596ffc3f8463bc163e946a32a Mon Sep 17 00:00:00 2001 From: Roman Yurchak Date: Sat, 21 Apr 2018 09:16:45 +0200 Subject: [PATCH] Update appveyor --- appveyor.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index cc782f3..3a511b5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,37 +7,35 @@ environment: # 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 + - PYTHON_VERSION: "2.7.x" PYTHON_ARCH: "64" MINICONDA: C:\Miniconda-x64 - - PYTHON_VERSION: 2.7 + - PYTHON_VERSION: "2.7.x" PYTHON_ARCH: "32" MINICONDA: C:\Miniconda - - PYTHON_VERSION: 3.5 + - PYTHON_VERSION: "3.5.x" PYTHON_ARCH: "32" - MINICONDA: C:\Miniconda3 - - PYTHON_VERSION: 3.6 + MINICONDA: C:\Miniconda35 + - PYTHON_VERSION: "3.6.x" PYTHON_ARCH: "64" - MINICONDA: C:\Miniconda3-x64 + MINICONDA: C:\Miniconda36-x64 init: - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH% %MINICONDA%" install: - - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%" + - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PYTHON%\\Library\\bin;%PATH%" - conda config --set always_yes yes --set changeps1 no - conda info -a - - conda create -q -n krige-env python=%PYTHON_VERSION% numpy scipy nose matplotlib cython scikit-learn pytest pytest-cov - - activate krige-env + - conda install numpy scipy nose matplotlib cython scikit-learn pytest pytest-cov - pip install coverage - pip install -e . test_script: - - activate krige-env - pytest -sv --cov=pykrige pykrige/ - ps: | - d ".\\examples" + cd ".\\examples" Get-ChildItem ".\\" -Filter *.py | Foreach-Object { python $_.FullName 2>&1 | Tee-Object -Append -FilePath "C:\\log.txt"