forked from pywinauto/SWAPY
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
60 lines (44 loc) · 1.46 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
# Based on https://github.com/pywinauto/pywinauto
#
# 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"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
#os:
# - unstable # Unstable worker image with logged in user, desktop and interactive build agent
install:
# Some listings for debug only
#- ECHO "Filesystem root:"
#- ps: "ls \"C:/\""
#- ECHO "Notepad location "
#- ps: "ls C:\\Windows\\System32\\notepad.exe"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Install the build dependencies of the project.
- "%CMD_IN_ENV% pip install -r dev-requirements.txt"
build: off # disable automatic builds
before_build:
# Download sample apps
- "%CMD_IN_ENV% svn checkout https://github.com/pywinauto/pywinauto/trunk/apps ./apps"
# Run unittests
- "%CMD_IN_ENV% python -m unittest discover"
build_script:
# install wxPython
- "%CMD_IN_ENV% powershell ./ci/install.ps1"
# Print python modules again
- "%CMD_IN_ENV% pip freeze"
# Build UI
- "%CMD_IN_ENV% powershell ./ci/build.ps1"
#test_script:
# # Run UI tests
artifacts:
# Archive the generated coverage report in the ci.appveyor.com build report.
- path: swapy*.exe