Skip to content

Commit

Permalink
appveyor: add vc11 / py27 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ukoethe committed Feb 1, 2016
1 parent 52f5d50 commit 7c417d0
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
platform:
- x64

environment:
matrix:
- PY_VERSION: "2.7"
VC_VERSION: "11"
- PY_VERSION: "3.5"
VC_VERSION: "14"

build_script:
- set PATH=C:\\Miniconda3-x64\\Scripts;%PATH%
- conda create -q --yes -n python3 python=3.5 jpeg libpng libtiff hdf5 numpy nose
- activate python3
- conda install -q --yes -c ukoethe --override-channels visual-studio=14.0 fftw boost
- if "%PY_VERSION%" == "2.7" set PATH=C:\\Miniconda-x64\\Scripts;%PATH%
- if "%PY_VERSION%" == "3.5" set PATH=C:\\Miniconda3-x64\\Scripts;%PATH%
- if "%PY_VERSION%" == "2.7" conda create -q --yes -n python -c ukoethe --override-channels visual-studio=%VC_VERSION%.0 python=%PY_VERSION% jpeg libpng libtiff hdf5 fftw boost numpy nose
- if "%PY_VERSION%" == "3.5" conda create -q --yes -n python python=%PY_VERSION% jpeg libpng libtiff hdf5 numpy nose
- activate python
- if "%PY_VERSION%" == "3.5" conda install -q --yes -c ukoethe --override-channels visual-studio=%VC_VERSION%.0 fftw boost
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build
- cd build
- cmake .. -G "Visual Studio 14 Win64" -DVIGRANUMPY_REQUIRED=1 -DDEPENDENCY_SEARCH_PREFIX="%CONDA_ACTIVE_ENV%/Library"
- cmake .. -G "Visual Studio %VC_VERSION% Win64" -DTEST_VIGRANUMPY=1 -DDEPENDENCY_SEARCH_PREFIX="%CONDA_ACTIVE_ENV%/Library"
- cmake --build . --target check --config Release

0 comments on commit 7c417d0

Please sign in to comment.