mirror of
https://github.com/Doctorado-ML/bayesclass.git
synced 2025-08-15 23:55:57 +00:00
38 lines
1.0 KiB
YAML
38 lines
1.0 KiB
YAML
build: false
|
|
|
|
environment:
|
|
matrix:
|
|
- PYTHON: "C:\\Miniconda3-x64"
|
|
PYTHON_VERSION: "3.5.x"
|
|
PYTHON_ARCH: "32"
|
|
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 install --yes -c conda-forge pip numpy==%NUMPY_VERSION% scipy==%SCIPY_VERSION% scikit-learn==%SKLEARN_VERSION%"
|
|
- pip install codecov nose pytest pytest-cov
|
|
- pip install .
|
|
|
|
test_script:
|
|
- mkdir for_test
|
|
- cd for_test
|
|
- pytest -v --cov=bayesclass --pyargs bayesclass
|
|
|
|
after_test:
|
|
- cp .coverage %APPVEYOR_BUILD_FOLDER%
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- codecov
|