forked from pywinauto/pywinauto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
123 lines (97 loc) · 3.33 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# Based on https://github.com/ogrisel/python-appveyor-demo
# and https://github.com/jjhelmus/appveyor-build-conda-pyart
#
# Hint: before committing any changes in the yaml file verify it in
# the yaml online parser: http://yaml-online-parser.appspot.com/
#
# fetch repository as a zip archive
shallow_clone: true # default is "false"
environment:
matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
UIA_SUPPORT: "YES"
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
UIA_SUPPORT: "NO"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
UIA_SUPPORT: "YES"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
UIA_SUPPORT: "NO"
- PYTHON: "C:\\Python33"
PYTHON_VERSION: "3.3"
PYTHON_ARCH: "32"
UIA_SUPPORT: "YES"
- PYTHON: "C:\\Python33-x64"
PYTHON_VERSION: "3.3"
PYTHON_ARCH: "64"
UIA_SUPPORT: "NO"
- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4"
PYTHON_ARCH: "32"
UIA_SUPPORT: "NO"
- PYTHON: "C:\\Python34-x64"
PYTHON_VERSION: "3.4"
PYTHON_ARCH: "64"
UIA_SUPPORT: "YES"
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "32"
UIA_SUPPORT: "YES"
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
UIA_SUPPORT: "NO"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"
UIA_SUPPORT: "NO"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
UIA_SUPPORT: "YES"
#init:
# Enable RDP.
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
# Some listings for debug only
#- ECHO "Filesystem root:"
#- ps: "ls \"C:/\""
#- ECHO "Notepad location "
#- ps: "ls C:\\Windows\\System32\\notepad.exe"
# install the appropriate Miniconda (Py2/Py3, 32/64 bit),
# as well as pywin32, pillow and coverage
- "powershell ./ci/install.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Install the build dependencies of the project. If some dependencies contain
# compiled extensions and are not provided as pre-built wheel packages,
# pip will build them from source using the MSVC compiler matching the
# target Python version and architecture
- "%CMD_IN_ENV% pip install -r dev-requirements.txt"
# Enable desktop (for correct screenshots).
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
build: false # Not a C# project, build stuff at the test step instead.
test_script:
# Build the compiled extension and run the project tests
- "powershell ./ci/runTestsuite.ps1"
after_test:
# Generate coverage report on codecov.io (token is not required for AppVeyor)
- codecov
- coverage xml
- python-codacy-coverage -d %APPVEYOR_BUILD_FOLDER% -c %APPVEYOR_REPO_COMMIT% -r coverage.xml
artifacts:
# Archive the generated coverage report in the ci.appveyor.com build report.
- path: Coverage_report
#on_success:
# - TODO:
#
#on_failure:
# Collect screenshots.
#- "7z a screenshots.zip %APPVEYOR_BUILD_FOLDER%\\scr-*.jpg"
#- "appveyor PushArtifact screenshots.zip"