-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathappveyor.yml
38 lines (33 loc) · 1 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
build: false
environment:
matrix:
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"
NUMPY_VERSION: "1.13.1"
SCIPY_VERSION: "0.19.1"
SKLEARN_VERSION: "0.19.1"
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.6.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 python=${PYTHON_VERSION}
- activate mutar-env
- conda install pip
- pip install codecov pytest pytest-cov
- python setup.py build_ext --inplace
- pip install -e .
test_script:
- pytest -v --cov=mutar --pyargs mutar
after_test:
# - cp .coverage %APPVEYOR_BUILD_FOLDER%
# - cd %APPVEYOR_BUILD_FOLDER%
# - codecov