forked from j-bac/elpigraph-python
-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
44 lines (38 loc) · 1.23 KB
/
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
36
37
38
39
40
41
42
43
44
build: false
environment:
matrix:
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
NUMPY_VERSION: "*"
SCIPY_VERSION: "*"
SKLEARN_VERSION: "*"
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
NUMPY_VERSION: "*"
SCIPY_VERSION: "*"
SKLEARN_VERSION: "*"
- 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 install --yes pip numpy==%NUMPY_VERSION% scipy==%SCIPY_VERSION% scikit-learn==%SKLEARN_VERSION% numba matplotlib nose pytest pytest-cov"
- pip install codecov
- pip install .
test_script:
#- mkdir for_test
#- cd for_test
- pytest -v --cov=elpigraph --pyargs elpigraph/tests/
#after_test:
# - cp .coverage %APPVEYOR_BUILD_FOLDER%
# - cd %APPVEYOR_BUILD_FOLDER%
# - codecov