forked from yzhao062/pyod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
53 lines (43 loc) · 1.2 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
build: off
# branches to build
branches:
# whitelist
only:
- master
- development
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" # comment out due to tensorflow version
# - PYTHON: "C:\\Python36-x32"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38-x64"
# - PYTHON: "C:\\Python39-x64" # comment out due to path not found
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:
on_build_success: false
on_build_failure: true
on_build_status_changed: true