From 801e6173adc5d5082eb3add05d7621bf0d5b0109 Mon Sep 17 00:00:00 2001 From: Mike Croucher Date: Thu, 7 Jul 2016 09:34:04 +0100 Subject: [PATCH] Appveyor: Use Miniconda for numpy and scipy --- appveyor.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ff13f99d..cd9bc881 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,25 +1,24 @@ environment: matrix: - - # For Python versions available on Appveyor, see - # http://www.appveyor.com/docs/installed-software#python - # The list here is complete (excluding Python 2.6, which - # isn't covered by this document) at the time of writing. - - - PYTHON: "C:\\Python27-x64" - - PYTHON: "C:\\Python35-x64" + - PYTHON_VERSION: 2.7 + MINICONDA: C:\Miniconda branches: only: - deploy -install: +install: + - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%" + - conda config --set always_yes yes --set changeps1 no + - conda update -q conda + - conda info -a + - "conda create -q -n build-environment python=%PYTHON_VERSION% numpy scipy matplotlib" + - activate build-environment # We need wheel installed to build wheels - "%PYTHON%\\python.exe -m pip install wheel" - - "%PYTHON%\\python.exe -m pip install scipy" + # GPy needs paramz - "%PYTHON%\\python.exe -m pip install paramz" - - "%PYTHON%\\python.exe -m pip install matplotlib" build: off