forked from DistrictDataLabs/yellowbrick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
71 lines (55 loc) · 1.84 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
# AppVeyor is a CI service to build and run tests under Windows
# https://ci.appveyor.com/project/districtdatalabs/yellowbrick
environment:
matrix:
# Tests failing on 32 bit architectures
# https://github.com/numpy/numpy/issues/4384
# - PYTHON: "C:\\Python27"
# PYTHON_VERSION: "2.7.14"
# PYTHON_ARCH: "32"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.14"
PYTHON_ARCH: "64"
# - PYTHON: "C:\\Python36"
# PYTHON_VERSION: "3.6.4"
# PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.4"
PYTHON_ARCH: "64"
# - PYTHON: "C:\\Miniconda3"
# PYTHON_VERSION: "3.6.4"
# MINICONDA_VERSION: "4.4.10"
# PYTHON_ARCH: "32"
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.6.4"
MINICONDA_VERSION: "4.4.10"
PYTHON_ARCH: "64"
# Cancel pending jobs after first job failure
matrix:
fast_finish: true
install:
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON%\\python.exe -m pip install -r tests/requirements.txt"
- "%PYTHON%\\python.exe -m nltk.downloader popular"
# No requirement to build any C libraries
build: off
test_script:
- "%PYTHON%\\python.exe setup.py test"
after_test:
- "%PYTHON%\\python.exe 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: Email
to:
on_build_success: false
on_build_failure: true
on_build_status_changed: true