-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (28 loc) · 840 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
build: false
environment:
matrix:
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.8.x"
PYTHON_ARCH: "64"
NUMPY_VERSION: "*"
SCIPY_VERSION: "*"
SKLEARN_VERSION: "*"
install:
# Prepend miniconda installed Python to the PATH of this build
# Add Library/bin directory to fix issue
# https://github.com/conda/conda/issues/1753
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PYTHON%\\Library\\bin;%PATH%"
# install the dependencies
- "conda env create --file environment.yml"
- "conda activate similarity-forest"
- "conda install --yes nose pytest pytest-cov"
- pip install codecov
- pip install .
test_script:
- mkdir for_test
- cd for_test
- pytest -v --cov=simforest --pyargs simforest
after_test:
- cp .coverage %APPVEYOR_BUILD_FOLDER%
- cd %APPVEYOR_BUILD_FOLDER%
- codecov