forked from DistrictDataLabs/yellowbrick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
93 lines (73 loc) · 2.4 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# AppVeyor is a CI service to build and run tests under Windows
# https://ci.appveyor.com/project/districtdatalabs/yellowbrick
image:
- Previous Visual Studio 2017
version: 0.9.{build}
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
- develop
environment:
matrix:
# Tests failing on 32 bit architectures
# https://github.com/numpy/numpy/issues/4384
# - PYTHON: "C:\\Python36"
# PYTHON_VERSION: "3.6.4"
# PYTHON_ARCH: "32"
# - PYTHON: "C:\\Miniconda3"
# PYTHON_VERSION: "3.6.4"
# MINICONDA_VERSION: "4.4.10"
# PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6"
MINICONDA_VERSION: "4.8.2"
PYTHON_ARCH: "64"
# Failing Tests Due to TypeError: LoadLibrary()
# - PYTHON: "C:\\Miniconda37-x64"
# PYTHON_VERSION: "3.7"
# MINICONDA_VERSION: "4.5.12"
# PYTHON_ARCH: "64"
# Cancel pending jobs after first job failure
matrix:
fast_finish: true
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- cmd: "IF '%MINICONDA_VERSION%'=='' (
python -m pip install -U pip &&
python -m pip install -U wheel &&
python -m pip install -U -r requirements.txt &&
python -m pip install -U -r tests/requirements.txt
) ELSE (
conda update -n base conda --yes &&
conda config --add channels conda-forge &&
conda env create -f tests/requirements.txt -n yellowbrick &&
call activate yellowbrick
)"
- "python -m nltk.downloader popular"
# No requirement to build any C libraries
build: off
test_script:
- "python setup.py test"
after_test:
- "python setup.py bdist_wheel"
artifacts:
- path: dist\*
cache:
# Use the appveryor cache to avoid redownload of numpy and scipy wheels
- '%APPDATA%\pip\Cache'
notifications:
- provider: Slack
auth_token:
secure: 6hd0IQ66qUUiStas9s304izgV7Wh0XyY0gFjuua7H8gtYle41gbFozkfKgzs110oK/iT4XKWrNfWOgz3S5Jcp2SGFXQ9IvF5ZqYmX71ZQRY=
channel: '#yb-ci'
on_build_success: true
on_build_failure: true
on_build_status_changed: true