-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
52 lines (45 loc) · 1.47 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
45
46
47
48
49
50
51
build: false
environment:
matrix:
- PYTHON_VERSION: "3.6"
MINICONDA: C:/Miniconda36-x64
- PYTHON_VERSION: "3.7"
MINICONDA: C:/Miniconda37-x64
CODACY_PROJECT_TOKEN:
secure: JfpMzloSBcpMIIXy+cJEBmJBpzHWIX/GOitqMufqfeG20oEL0G59QtHK8ZR2nemk
init:
- ECHO %PYTHON_VERSION% %MINICONDA%
- ECHO conda --version
install:
- set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy scikit-learn pandas joblib pytest
- activate test-environment
- conda install -c conda-forge dlib=19.17
- conda install imageio
- conda install scikit-image
- conda install -c conda-forge codacy-coverage
- conda install coveralls
- conda install pytest-cov
- conda install seaborn
# - conda install -f -y -q --name py37 -c conda-forge --file requirements.txt
test_script:
- set PYTHONPATH=%PYTHONPATH%;%CD%
- pytest -sv --ignore=mlearner/plotting
# - pytest --cov=./ --cov-report=xml
# - python-codacy-coverage -r coverage.xml
# - coverage run --source=mlearner -m pytest ./
# - coveralls
notifications:
# Email
- provider: Webhook
url: https://webhooks.gitter.im/e/da7cc377188fe3ec803a
method: GET
- provider: Email
to:
subject: 'Build {{status}}'
message: "{{message}}, {{commitId}}, ..."
on_build_status_changed: true