forked from yzhao062/pyod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (41 loc) · 1.03 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
build: off
# branches to build
branches:
# whitelist
only:
- master
- development
- 0.7.X
environment:
matrix:
# - PYTHON: "C:\\Python27" # comment out due to tensorflow version
# - PYTHON: "C:\\Python27-x64" # comment out due to tensorflow version
- PYTHON: "C:\\Python35-x64"
# - PYTHON: "C:\\Python36-x32"
- PYTHON: "C:\\Python36-x64"
skip_commits:
files:
- "*.yml"
- "*.rst"
- "*.md"
- "LICENSE"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "%PYTHON%\\python.exe -m pip install --upgrade pip setuptools"
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install pytest"
- "%PYTHON%\\python.exe -m pip install -r requirements_ci.txt"
test_script:
- "%PYTHON%\\python.exe -m pytest"
after_test:
- "%PYTHON%\\python.exe setup.py bdist_wheel"
artifacts:
- path: dist\*
notifications:
- provider: Email
to:
- yzhao062@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: true