-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.appveyor.yml
35 lines (28 loc) · 991 Bytes
/
.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
environment:
matrix:
- PYTHON_VERSION: "2.7"
FLANN_VERSION: "1.9.1"
NUMPY_VERSION: "1.11"
MINICONDA: "C:\\Miniconda36-x64"
- PYTHON_VERSION: "3.6"
FLANN_VERSION: "1.9.1"
NUMPY_VERSION: "1.14"
MINICONDA: "C:\\Miniconda36-x64"
platform:
- x64
install:
- cmd: rmdir C:\cygwin /s /q
- cmd: call %MINICONDA%\Scripts\activate.bat
- cmd: conda update --yes --quiet conda
- cmd: conda config --add channels conda-forge
- cmd: conda create -n env --yes --quiet python=%PYTHON_VERSION% pytest setuptools wheel cython numpy=%NUMPY_VERSION% flann=%FLANN_VERSION% pyflann m2w64-pkg-config
- cmd: conda activate env
- cmd: set "FLANN_DIR=%CONDA_PREFIX%\Library"
- cmd: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin" /exports %FLANN_DIR%\lib\flann.lib'
- cmd: python setup.py flann_info install
build: off
test_script:
- mkdir empty_folder
- cd empty_folder
- python -m pytest --pyargs cyflann
- cd ..